make localintegration fails on Ubuntu 17.04
Fix 2 string comparision issues in output validation.
@@ -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"* ]]
}
