aboutsummaryrefslogtreecommitdiffstats
path: root/mktest.sh
diff options
context:
space:
mode:
authorlostd <lostd@2f30.org>2015-01-26 22:48:47 +0200
committerlostd <lostd@2f30.org>2015-01-26 22:49:09 +0200
commit892c7c850a27331f6debb0d5968282d0e3278592 (patch)
treef8dfd10cc63be0bd3ca8676ec94ab6fc315b2fb1 /mktest.sh
parentad76a7be57dfa5eecf192594e49711335a20ac84 (diff)
downloadnoice-892c7c850a27331f6debb0d5968282d0e3278592.tar.gz
Spawn a program that segfaults for testing
Diffstat (limited to 'mktest.sh')
-rw-r--r--mktest.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/mktest.sh b/mktest.sh
index 6a6b650..1af7a6e 100644
--- a/mktest.sh
+++ b/mktest.sh
@@ -20,3 +20,6 @@ mkfifo mk-fifo
touch no-access && chmod 000 no-access
ln -s ../normal.txt normal-dir/ln-normal.txt
ln -s ../normal.txt normal-dir/ln-normal
+echo 'int main(void) { *((char *)0) = 0; }' > ill.c
+make ill > /dev/null
+echo 'test/ill' > ill.sh
Un proyecto texto-plano.xyz