Skip to content

Commit 60f07ce

Browse files
committed
Use different folder for storing pids and gitignore as needed
1 parent 8c9bf85 commit 60f07ce

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ certificates/etag-*.txt
2727
# Ignore temporary files generated by the testing proxy.
2828
tests/utils/proxy/__pycache__
2929
tests/utils/proxy/*.pid
30+
tests/utils/pids

scripts/start-test-environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if [ $sourced -eq 0 ]; then
4545
fi
4646
fi
4747

48-
PID_DIR="${PROJECT_ROOT}/.test-pids"
48+
PID_DIR="${PROJECT_ROOT}/tests/utils/pids"
4949

5050
# Check if mitmproxy is installed
5151
if ! command -v mitmdump >/dev/null 2>&1; then

scripts/stop-test-environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ else
1111
SCRIPT_DIR="$PROJECT_ROOT/scripts"
1212
fi
1313

14-
PID_DIR="${PROJECT_ROOT}/.test-pids"
14+
PID_DIR="${PROJECT_ROOT}/tests/utils/pids"
1515

1616
# Function to safely kill a process
1717
kill_process() {

0 commit comments

Comments
 (0)