sbsigntools/tests/sign-missing-key.sh

11 lines
147 B
Bash
Raw Normal View History

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