sbsigntools/tests/sign-missing-cert.sh

13 lines
170 B
Bash
Raw Normal View History

#!/bin/bash -e
. "$srcdir/common.sh"
signed="test.signed"
set +e
"$sbsign" --cert "missing-cert" --key "$key" --output "$signed" "$image"
rc=$?
set -e
test $rc -eq 1