From 9c36ffbcb57881cdac81eb9cb3c5332d1e4860a5 Mon Sep 17 00:00:00 2001 From: leitwolf7 Date: Wed, 19 Jul 2017 16:12:19 -0400 Subject: [PATCH] make localintegration fails on Ubuntu 17.04 Fix 2 string comparision issues in output validation. Signed-off-by: leitwolf7 --- tests/integration/exec.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/exec.bats b/tests/integration/exec.bats index 70730de8811..db659002fd9 100644 --- a/tests/integration/exec.bats +++ b/tests/integration/exec.bats @@ -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"* ]] }