Files
swupd-client/test/functional/generate-cert.prereq
Otavio Pontes 2bf4169a4a Don't mix tabs with spaces in the same file
And prefer tabs over spaces, because that's the project standard for
source files

Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
2019-10-29 11:54:25 -07:00

19 lines
350 B
Plaintext
Executable File

#!/usr/bin/env bats
load "testlib"
test_setup() {
:
}
test_teardown() {
:
}
@test "PRQ001: Generate certificate for signing Manifest.MoM" {
run sudo sh -c "rm -rf "$TEST_ROOT_DIR"/private.pem "$TEST_ROOT_DIR"/Swupd_Root.pem"
generate_certificate "$TEST_ROOT_DIR"/private.pem "$TEST_ROOT_DIR"/Swupd_Root.pem "$FUNC_DIR"/certattributes.cnf
}