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