Skip to content

Commit

Permalink
make localintegration fails on Ubuntu 17.04
Browse files Browse the repository at this point in the history
Fix 2 string comparision issues in output validation.

Signed-off-by: leitwolf7 <leitwolf@wolke7.net>
  • Loading branch information
leitwolf7 committed Jul 19, 2017
1 parent 5b995d9 commit 9c36ffb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/exec.bats
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function teardown() {

runc exec --cwd /bin test_busybox pwd
[ "$status" -eq 0 ]
[[ ${output} == "/bin" ]]
[[ ${output} == "/bin"* ]]
}

@test "runc exec --env" {
Expand All @@ -110,5 +110,5 @@ function teardown() {
runc exec --user 1000:1000 test_busybox id
[ "$status" -eq 0 ]

[[ ${output} == "uid=1000 gid=1000" ]]
[[ ${output} == "uid=1000 gid=1000"* ]]
}

0 comments on commit 9c36ffb

Please sign in to comment.