summaryrefslogtreecommitdiff
path: root/tests/run_fuzz_test.sh
diff options
context:
space:
mode:
authorpeter <peter@pmikkelsen.com>2026-10-02 20:04:59 +0000
committerpeter <peter@pmikkelsen.com>2026-10-02 20:04:59 +0000
commit8dcf2fab04ae0cb761b361d0cbc56faec83f285a (patch)
treefc32f5a78f779211e502243248b8800a3f2ee25f /tests/run_fuzz_test.sh
parent4c6ff102c89b0d18cdcca666927243190a42bf68 (diff)
Start adding some support for finding crashes using fuzzing.
As of this commits, a lot of tests will fail. FossilOrigin-Name: b69b0e75daaa2ac3959f7a474207ba786823d1a5f8147cfe280df729cb829713
Diffstat (limited to 'tests/run_fuzz_test.sh')
-rwxr-xr-xtests/run_fuzz_test.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/run_fuzz_test.sh b/tests/run_fuzz_test.sh
new file mode 100755
index 0000000..482f045
--- /dev/null
+++ b/tests/run_fuzz_test.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+aplwc "$1"
+case $? in
+ 0|1)
+ exit 0
+ ;;
+ *)
+ exit 1
+ ;;
+esac