Spawn a program that segfaults for testing

This commit is contained in:
lostd 2015-01-26 22:48:47 +02:00
parent ad76a7be57
commit 892c7c850a

View file

@ -20,3 +20,6 @@ mkfifo mk-fifo
touch no-access && chmod 000 no-access touch no-access && chmod 000 no-access
ln -s ../normal.txt normal-dir/ln-normal.txt ln -s ../normal.txt normal-dir/ln-normal.txt
ln -s ../normal.txt normal-dir/ln-normal 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