Skip to content

Commit 003f503

Browse files
authored
Merge pull request #42 from dockerland/travis/jeez
fix host_users test for travis
2 parents c890782 + a0b408b commit 003f503

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/bats/06-runtime.bats

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,13 @@ teardown(){
221221
run $DEX run imgtest/debian whoami
222222
[ $status -eq 1 ]
223223

224+
$DEX image build imgtest/labels:enable-host_users
224225
run $DEX run imgtest/labels:enable-host_users whoami
226+
for line in ${lines[@]}; do
227+
echo "$line"
228+
done
225229
[ $status -eq 0 ]
226-
id -un 2>/dev/null && [ "$output" = "$(id -un 2>/dev/null)" ]
230+
[ "$output" = "$(id -un 2>/dev/null)" ]
227231
}
228232

229233
@test "runtime respects host_docker label for passthrough of host docker socket and vars" {

0 commit comments

Comments
 (0)