mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-07 14:11:52 +00:00
The old test library swupd.bash was replaced by testlib.bash. Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
21 lines
362 B
Bash
Executable File
21 lines
362 B
Bash
Executable File
#!/usr/bin/env bats
|
|
|
|
load "testlib"
|
|
|
|
test_setup() {
|
|
:
|
|
}
|
|
|
|
test_teardown() {
|
|
:
|
|
}
|
|
|
|
@test "Generate certificate for signing Manifest.MoM" {
|
|
|
|
run sudo sh -c "rm -rf "$FUNC_DIR"/private.pem "$FUNC_DIR"/Swupd_Root.pem"
|
|
generate_certificate "$FUNC_DIR"/private.pem "$FUNC_DIR"/Swupd_Root.pem "$FUNC_DIR"/certattributes.cnf
|
|
|
|
}
|
|
|
|
# vi: ft=sh ts=8 sw=2 sts=2 et tw=80
|