Skip to content

Commit e515760

Browse files
authored
when running run_tests.sh locally, make sure to use the user uid/gid (#1708)
1 parent ec327ab commit e515760

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/scripts/docker/run_tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ fi
1919
pip_cache="$HOME/.cache"
2020
docker_pip_cache="/tmp/cache/pip"
2121
TEST="${1}/${2}"
22+
LOCAL_USER_ID=${LOCAL_USER_ID:=$(id -u)}
23+
LOCAL_GROUP_ID=${LOCAL_GROUP_ID:=$(id -g)}
2224

2325
cd tests
2426

0 commit comments

Comments
 (0)