blob: ca16e5b2d1da85858acf2cdfb09b7663029ff4c3 [file] [log] [blame]
#!/bin/bash -e
signed="test.signed"
"$sbsign" --cert "$cert" --key "$key" --output "$signed" "$image"
set +e
"$sbverify" --cert "missing-cert" "$signed"
rc=$?
set -e
test $rc -eq 1