Skip to content

Commit 2694562

Browse files
Review updates to test_harness/**/* files
Co-authored-by: Kory Draughn <korydraughn@ymail.com>
1 parent 99d05e3 commit 2694562

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

test_harness/multiple_node/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ A summary of how to run the tests "at the bench" follows:
4040
./docker-testing/start_containers.sh 4.3.4 3.11
4141
```
4242
This builds and runs the docker images for the project, with "4.3.4" being the iRODS
43-
version installed on the provider and "3.11" is the version of python run on the client side.
43+
version installed on the provider and "3.11" being the version of python installed on the client side.
4444
4545
3. Run:
4646
```

test_harness/single_node/install.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ add_package_repo()
2929
sudo apt update
3030
}
3131

32-
# Expand a spec of the leading version tuple eg. 4.3.4 out to the full name of
32+
# Expand a spec of the leading version tuple eg. 4.3.4 out to the full name of
3333
# the most recent matching version of the package
3434

3535
# Report the latest version spec (including OS) that matches the env var IRODS_PACKAGE_VERSION (eg. "5.0.2" -> "5.0.2-0~jammy)
@@ -50,8 +50,7 @@ while [[ "$1" = -* ]]; do
5050
ARG="$1"
5151
shift
5252
case $ARG in
53-
--i=* | --irods=* |\
54-
--irods-version=*) IRODS_PACKAGE_VERSION=${ARG#*=};;
53+
--i=* | --irods=* | --irods-version=* ) IRODS_PACKAGE_VERSION=${ARG#*=};;
5554
--w=* | --with=* | --with-options=* ) withopts=${ARG#*=} ;;
5655
esac
5756
done

test_harness/single_node/irods_version_greater_or_equal_to

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ if __name__ == '__main__':
3939
j = json.load(open(version_files[0]))
4040
version_to_test = j["irods_version"]
4141

42-
if version_to_tuple(version_to_test) < version_to_tuple(arg[0]):
42+
if version_to_tuple(version_to_test) < version_to_tuple(arg[0]):
4343
exit(1)

0 commit comments

Comments
 (0)