Skip to content

Commit fcc68c5

Browse files
committed
iinit_as_rods earlier
1 parent b958e6d commit fcc68c5

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

irods/test/login_auth_test.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ setup_preconnect_preference DONT_CARE
1010

1111
add_irods_to_system_pam_configuration
1212

13+
# Configure clients with admin user but no TLS yet because that requires rescan of config in >= iRODS 5.0
14+
iinit_as_rods || { echo >&2 "couldn't iinit as rods"; exit 2; }
15+
1316
# set up /etc/irods/ssl directory and files
1417
set_up_ssl sudo
1518

19+
exit 121
1620
sudo useradd -ms/bin/bash alissa
1721
sudo chpasswd <<<"alissa:test123"
1822

@@ -22,12 +26,6 @@ update_json_file $IRODS_SERVICE_ACCOUNT_ENV_FILE \
2226
# This is mostly so we can call python3 as just "python"
2327
activate_virtual_env_with_prc_installed >/dev/null 2>&1 || { echo >&2 "couldn't set up virtual environment"; exit 1; }
2428

25-
# Set up testuser with rods+SSL so we never have to run login_auth_tests.py as the service account.
26-
echo "calling --> iinit_as_rods"
27-
iinit_as_rods || { echo >&2 "couldn't iinit as rods"; exit 2; }
28-
29-
# Configure clients with admin user but no TLS yet because that requires a rebounce (or rescan-config) in >= iRODS 5.0
30-
3129
server_hup=
3230
if irods_server_version ge 5.0.0; then
3331
server_hup="y"

0 commit comments

Comments
 (0)