blob: 544fbf30c569805c980b8ef1a1a6239b351b325d [file] [log] [blame]
#!/bin/bash -e
##
# The original warning is gone because we now do multiple signatures
# instead check that the second signature is added
##
signed="test.signed"
"$sbsign" --cert "$cert" --key "$key" --output "$signed" "$image"
"$sbsign" --cert "$cert" --key "$key" --output "$signed" "$signed" 2>&1 |
grep '^Image was already signed; adding additional signature'