sbsigntools/tests/sign-missing-key.sh

13 lines
170 B
Bash
Raw Normal View History

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