mirror of
https://github.com/clearlinux/clrtrust.git
synced 2026-08-18 21:16:11 +00:00
@@ -809,7 +809,7 @@ while [ $# -gt 0 ]; do
|
||||
shift
|
||||
continue
|
||||
;;
|
||||
("generate"|"list"|"add"|"remove"|"restore"|"check")
|
||||
(*)
|
||||
COMMAND=$1
|
||||
shift
|
||||
;;
|
||||
|
||||
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bats
|
||||
# Copyright 2017 Intel Corporation
|
||||
|
||||
load test_lib
|
||||
|
||||
setup() {
|
||||
find_clrtrust
|
||||
setup_fs
|
||||
}
|
||||
|
||||
@test "handle unrecognized command" {
|
||||
run $CLRTRUST regenerate
|
||||
[ $status -ne 0 ]
|
||||
}
|
||||
|
||||
teardown() {
|
||||
remove_fs
|
||||
}
|
||||
|
||||
# vim: ft=sh:sw=4:ts=4:et:tw=80:si:noai:nocin
|
||||
Reference in New Issue
Block a user