diff --git a/test/system/300-cli-parsing.bats b/test/system/300-cli-parsing.bats index 83b9ebad95..16110e60ef 100644 --- a/test/system/300-cli-parsing.bats +++ b/test/system/300-cli-parsing.bats @@ -100,7 +100,7 @@ function _check_env { } -@test "podman run --env-file" { +@test "podman run/exec --env-file" { declare -A expect=( [simple]="abc" [special]="bcd#e!f|g hij=lmnop" @@ -116,7 +116,7 @@ function _check_env { # Write two files, so we confirm that podman can accept multiple values # and that the second will override the first - local envfile1="$PODMAN_TMPDIR/envfile-in-1" + local envfile1="$PODMAN_TMPDIR/envfile-in-1,withcomma" local envfile2="$PODMAN_TMPDIR/envfile-in-2" cat >$envfile1 </envresults' + + _check_env $resultsfile + + run_podman rm -f -t0 testctr } # Obscure feature: '--env FOO*' will pass all env starting with FOO