aboutsummaryrefslogtreecommitdiff
path: root/test/test.sh
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-06-10 22:43:34 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-06-10 22:43:34 +0200
commit2ec81876eb59bb3e7c544774aa222988c1f574c4 (patch)
treeb6eca032fe3071a17ad580d8e178c8383818a02a /test/test.sh
parentd9f40f59c9f14bef7f87c11da7494f7dcf1457b4 (diff)
downloadnissy-core-2ec81876eb59bb3e7c544774aa222988c1f574c4.tar.gz
nissy-core-2ec81876eb59bb3e7c544774aa222988c1f574c4.zip
Fix build errors on OpenBSD
Diffstat (limited to '')
-rwxr-xr-xtest/test.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh
index 3adee3a..8e50cf5 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -1,6 +1,9 @@
1#!/bin/sh 1#!/bin/sh
2 2
3detectsan() { cc -fsanitize=$1 -dM -E -x c - </dev/null | grep "SANITIZE"; } 3detectsan() {
4 cc -fsanitize=$1 -dM -E -x c - </dev/null 2>/dev/null \
5 | grep "SANITIZE"
6}
4 7
5re="${TEST:-$@}" 8re="${TEST:-$@}"
6 9

Generated with cgit - Back to sebastiano.tronto.net