diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-04-16 16:37:31 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-04-16 16:38:36 -0400 |
commit | e75f86a9f5f42147cd974b510d547eec6a1fc518 (patch) | |
tree | 8bf27119eb6bba2ec07799b35383145e4da44487 /tests.sh | |
parent | 521ba651d7b6ae2c690b93b3ca10369a8c588d02 (diff) | |
download | bfs-e75f86a9f5f42147cd974b510d547eec6a1fc518.tar.xz |
tests: Also put build outputs under build/
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |