mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-02 11:41:50 +00:00
And prefer tabs over spaces, because that's the project standard for source files Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
19 lines
350 B
Plaintext
Executable File
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
|
|
|
|
}
|