diff --git a/tests/integration/environment/test.sh b/tests/integration/environment/test.sh index c219fc2..303c8bb 100755 --- a/tests/integration/environment/test.sh +++ b/tests/integration/environment/test.sh @@ -13,7 +13,7 @@ __tmpdir=$(mktemp -d) docker save alpine | APP_LOG_LEVEL=INFO pdm run docker-unpack unpack - "$__tmpdir" # Test whether the environment variables are correctly set -apptainer exec --env MYTEST=someteststring "$__tmpdir" env | grep MYTEST +apptainer exec --compat --env MYTEST=someteststring "$__tmpdir" env | grep MYTEST rm -rf "$__tmpdir" echo "PASS"