]> git.corax.cc Git - toolbox/commit
test.sh: Prefer toolbox in same directory over globally installed one
authorMatthias Kruk <m@m10k.eu>
Sat, 7 Jan 2023 07:10:23 +0000 (16:10 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 7 Jan 2023 07:22:04 +0000 (16:22 +0900)
commitd6645611439e2a41dc01a5462f05a28145791cf6
treeb924f755cc8255d73afc641155999e1ce0b24859
parent6e6a6225f629467fdc13aa55b7264881bf8415e8
test.sh: Prefer toolbox in same directory over globally installed one

Because test.sh uses the environment's PATH, it ends up using whatever
toolbox is installed in the environment, instead of the toolbox that it
was shipped with.

This commit modifies the test script so that it overrides the path,
making tests use the toolbox they were distributed with. This also
removes unnecessary PATH modifications from the test specs.
13 files changed:
test.sh
test/array_spec.sh
test/include [deleted symlink]
test/ipc_spec.sh
test/is_spec.sh
test/json_spec.sh
test/log_spec.sh
test/mutex_spec.sh
test/opt_spec.sh
test/queue_spec.sh
test/sem_spec.sh
test/uipc_spec.sh
test/wmutex_spec.sh