Skip to content

Commit

Permalink
Use compat in apptainer
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-z committed Dec 28, 2024
1 parent 32e82cb commit 4e03430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/environment/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 4e03430

Please sign in to comment.