Merge pull request #1182 from rajasec/helpbats-update

Adding update command in help-bats
This commit is contained in:
Qiang Huang 2016-11-10 17:35:21 +08:00 committed by GitHub
commit e0032d443b
1 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,10 @@ load helpers
[ "$status" -eq 0 ] [ "$status" -eq 0 ]
[[ ${lines[1]} =~ runc\ state+ ]] [[ ${lines[1]} =~ runc\ state+ ]]
runc update -h
[ "$status" -eq 0 ]
[[ ${lines[1]} =~ runc\ update+ ]]
} }
@test "runc foo -h" { @test "runc foo -h" {