commit 3fc030e8b38495673cf7447d7e18fd4a7e3d946b parent a0f1a4b77cd2472baf95076974855ccbe71cdfe4 Author: vx-clutch <[email protected]> Date: Sun, 14 Sep 2025 20:08:55 -0400 update test Diffstat:
| M | src/tests/run_unit_tests.sh | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/tests/run_unit_tests.sh b/src/tests/run_unit_tests.sh @@ -9,10 +9,12 @@ fatal() { [ -d "./yait" ] && fatal "must be run from parent directory" -$yait --help > /dev/null/ 2>&1 || fatal "failed on --help" -$yait --version > /dev/null 2>&1 || fatal "failed on --version" +{ +$yait --help || fatal "failed on --help" +$yait --version || fatal "failed on --version" tmpd=$(mktemp -d) cd $tmpd $yait foo || fatal "failed to create `foo` at ${tmpd}" +} > build/test.log 2>&1