mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
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:
@@ -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"* ]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user