sbsigntool/tests/sign-missing-cert.sh

11 lines
147 B
Bash
Raw Normal View History

2022-05-14 02:51:23 +08:00
#!/bin/bash -e
signed="test.signed"
set +e
"$sbsign" --cert "missing-cert" --key "$key" --output "$signed" "$image"
rc=$?
set -e
test $rc -eq 1