File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
test_harness/multiple_node Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ REPO="$(./print_repo_root_location)"
1212# Set up /irods_shared (created as a shared mount by the docker compose configuration) and subfolders for tests.
1313
1414# Get the numeric user and group id's for irods service account on the provider. This helps to set up the test user
15- # (named 'user') with proper permissions for the shared volume on the client node.
15+ # with proper permissions for the shared volume on the client node.
1616groupadd -o -g $( stat -c%g /irods_shared) irods
1717useradd -g irods -u $( stat -c%u /irods_shared) irods
1818
@@ -23,18 +23,18 @@ chmod 777 /irods_shared/reg_resc
2323chmod g+ws /irods_shared/tmp
2424
2525# Make a test user in group irods, who will run the client tests.
26- useradd -G irods -m -s/bin/bash user
26+ useradd -G irods -m -s/bin/bash prc-test- user
2727
2828# Create writable copy of this repo.
2929cp -r /" $REPO " {,.copy}
3030REPO+=.copy
31- chown -R user " $REPO "
31+ chown -R prc-test- user " $REPO "
3232chmod u+w " $REPO " /irods/test/test-data
3333
3434# Install PRC from the repo.
3535$PYTHON -m pip install " $REPO [tests]"
3636
37- su - user -c " \
37+ su - prc-test- user -c " \
3838$PYTHON '$DIR '/iinit.py \
3939 host irods-catalog-provider \
4040 port 1247 \
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ usage() {
77 echo >&2 " usage: $0 irods_version" ; exit 1;
88}
99
10- if [ $# -eq 2 ]; then
10+ if [ $# -eq 1 ]; then
1111 IRODS_VERSION=$1
12- shift $#
12+ shift
1313else
1414 usage
1515fi
You can’t perform that action at this time.
0 commit comments