Skip to content

Commit

Permalink
test: Update nss-isolated test to use scuba
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathonReinhart committed Aug 6, 2023
1 parent 6ba0ed5 commit 9fb10f6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/nss-isolated/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9fb10f6

Please sign in to comment.