b05afccde0
Add a few tests for the sign, verify, attach and detach code. These require some additional infrastructure to create a sample PE/COFF executable, plus a key & cert for testing. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
12 lines
223 B
Bash
12 lines
223 B
Bash
|
|
basedir=..
|
|
testdir="$basedir/tests"
|
|
bindir="$basedir"
|
|
|
|
sbsign=$bindir/sbsign
|
|
sbverify=$bindir/sbverify
|
|
sbattach=$bindir/sbattach
|
|
|
|
key="$testdir/private-key.rsa"
|
|
cert="$testdir/public-cert.pem"
|
|
image="$testdir/test.pecoff"
|