exit 0 on -h
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
parent
ba7191aed9
commit
b26fada584
2 changed files with 3 additions and 3 deletions
|
@ -2,8 +2,7 @@
|
|||
|
||||
@test "Help" {
|
||||
run $CTR_ENGINE run --rm $CTR_IMAGE -h
|
||||
[ "$status" -eq 1 ]
|
||||
#TODO: we should exit 0
|
||||
[ "$status" -eq 0 ]
|
||||
[[ ${lines[0]} =~ "BuildSourceImage.sh version " ]]
|
||||
[[ ${lines[1]} =~ "Usage: BuildSourceImage.sh " ]]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue