b3edb1fb72
Instead of executing in the current (build) directory, create a temporary directory and change into it before running any tests. This ensures that tests aren't relying on left-overs from previous test runs. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
8 lines
179 B
Bash
Executable file
8 lines
179 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
. "$srcdir/common.sh"
|
|
|
|
sig="test.sig"
|
|
|
|
"$sbsign" --cert "$cert" --key "$key" --detached --output $sig "$image"
|
|
"$sbverify" --cert "$cert" --detached $sig "$image"
|