diff --git a/crates/memory-testing/run_test.sh b/crates/memory-testing/run_test.sh index f0355b239..a8201865b 100755 --- a/crates/memory-testing/run_test.sh +++ b/crates/memory-testing/run_test.sh @@ -9,7 +9,7 @@ rm $OUTPUT_DIR/* if [ "$1" = "no-docker" ]; then cargo build -p memory-testing - python3 ./crates/memory-testing/capture_dumps.py ./target/debug/memory-testing $OUTPUT_DIR + sudo python3 ./crates/memory-testing/capture_dumps.py ./target/debug/memory-testing $OUTPUT_DIR else docker build -f crates/memory-testing/Dockerfile -t bitwarden/memory-testing . docker run --rm -it -v $OUTPUT_DIR:/output bitwarden/memory-testing