From 9fb10f646bf9948dc242a8d13d4eac3010b965ce Mon Sep 17 00:00:00 2001 From: Jonathon Reinhart Date: Tue, 11 Jul 2023 03:36:59 -0400 Subject: [PATCH] test: Update nss-isolated test to use scuba --- test/nss-isolated/run_test.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/nss-isolated/run_test.sh b/test/nss-isolated/run_test.sh index 443122c..8faec6e 100755 --- a/test/nss-isolated/run_test.sh +++ b/test/nss-isolated/run_test.sh @@ -27,9 +27,8 @@ $outfile # Run it under Docker if [ -n "$TEST_DOCKER_IMAGE" ]; then echo -e "\nRunning staticx executable under $TEST_DOCKER_IMAGE" - docker run --rm -it \ - -v "$(pwd):$(pwd):ro" -w $(pwd) \ - -v "$(realpath ./bad_nsswitch.conf):/etc/nsswitch.conf:ro" \ - $TEST_DOCKER_IMAGE \ + + scuba --image $TEST_DOCKER_IMAGE \ + --docker-arg="-v $(realpath ./bad_nsswitch.conf):/etc/nsswitch.conf:ro" \ $outfile fi