Skip to content

Commit 9c36ffb

Browse files
committed
make localintegration fails on Ubuntu 17.04
Fix 2 string comparision issues in output validation. Signed-off-by: leitwolf7 <[email protected]>
1 parent 5b995d9 commit 9c36ffb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/exec.bats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function teardown() {
8585

8686
runc exec --cwd /bin test_busybox pwd
8787
[ "$status" -eq 0 ]
88-
[[ ${output} == "/bin" ]]
88+
[[ ${output} == "/bin"* ]]
8989
}
9090

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

113-
[[ ${output} == "uid=1000 gid=1000" ]]
113+
[[ ${output} == "uid=1000 gid=1000"* ]]
114114
}

0 commit comments

Comments
 (0)