summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-04-16 16:37:31 -0400
committerTavian Barnes <tavianator@tavianator.com>2022-04-16 16:38:36 -0400
commite75f86a9f5f42147cd974b510d547eec6a1fc518 (patch)
tree8bf27119eb6bba2ec07799b35383145e4da44487 /tests.sh
parent521ba651d7b6ae2c690b93b3ca10369a8c588d02 (diff)
downloadbfs-e75f86a9f5f42147cd974b510d547eec6a1fc518.tar.xz
tests: Also put build outputs under build/
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index 6d2c703..25fda36 100755
--- a/tests.sh
+++ b/tests.sh
@@ -881,6 +881,7 @@ ROOT=$(dirname -- "${BASH_SOURCE[0]}")
read -a BFS <<<"${BFS:-$ROOT/bfs}"
BFS[0]=$(_realpath "$(command -v "${BFS[0]}")")
+BUILD=$(_realpath "$ROOT/build")
TESTS=$(_realpath "$ROOT/tests")
# The temporary directory that will hold our test data
@@ -1053,7 +1054,7 @@ function make_rainbow() {
# TODO: block
ln -s /dev/null "$1/chardev_link"
ln -s nowhere "$1/broken"
- "$TESTS/mksock" "$1/socket"
+ "$BUILD/tests/mksock" "$1/socket"
touchp "$1"/s{u,g,ug}id
chmod u+s "$1"/su{,g}id
chmod g+s "$1"/s{u,}gid