Skip to content

Commit 9bd1449

Browse files
committed
assure success on test003 timestamp integer boundary
1 parent dc1df33 commit 9bd1449

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

irods/test/scripts/test003_write_pam_credentials_to_secrets_file.bats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ except irods.client_init.irodsA_already_exists:
4848
$PYTHON -c "import irods.client_init; irods.client_init.write_pam_irodsA_file('$ALICES_NEW_PAM_PASSWD')"
4949
TIMESTAMP=$(stat -c%Y $auth_file)
5050

51-
# Test only the timstamp of the new auth_file, not the validity since that is implicitly asserted by the next step.
52-
[ $(($TIMESTAMP-TIMESTAMP_0)) -gt 1 ]
51+
# Test only the timestamp of the new auth_file, not the content, since that is implicitly asserted by the next step.
52+
[ $(($TIMESTAMP-TIMESTAMP_0)) -ge 1 ]
5353

5454
# Define the core Python to be run, basically a minimal code block ensuring that we can authenticate to iRODS
5555
# without an exception being raised.

0 commit comments

Comments
 (0)