From 3d5360c44460022a0adc40771659f11835460859 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 12 Oct 2025 21:54:24 +0300 Subject: fix valgrind detection on openbsd --- scripts/run-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/run-test b/scripts/run-test index 017562e..8f09c45 100755 --- a/scripts/run-test +++ b/scripts/run-test @@ -6,7 +6,7 @@ NAME=$(basename "$TEST") mkdir -p "reports/$NAME" try_vg() { - if which -s valgrind; then + if which valgrind > /dev/null 2>&1; then valgrind -q --leak-check=full --error-exitcode=1 "$1" else eval "$1" -- cgit v1.2.3