make localintegration fails on Ubuntu 17.04

Fix 2 string comparision issues in output validation.

Signed-off-by: leitwolf7 <leitwolf@wolke7.net>
This commit is contained in:
leitwolf7 2017-07-19 16:12:19 -04:00
parent 5b995d9570
commit 9c36ffbcb5
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ function teardown() {
runc exec --cwd /bin test_busybox pwd
[ "$status" -eq 0 ]
[[ ${output} == "/bin" ]]
[[ ${output} == "/bin"* ]]
}
@test "runc exec --env" {
@ -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"* ]]
}