Added a stress test for the segv

This commit is contained in:
Stephen M. McQuay 2012-05-25 08:55:29 -06:00
parent 0a9c36b286
commit 403dcc11f2
2 changed files with 14 additions and 0 deletions

View File

@ -31,3 +31,6 @@ run: all
clean:
@rm -vf auto constexpr core* ilists init init_new lambda loops regex1 regex2 thread thread2 tuple
stress: thread2
./stress.zsh

11
stress.zsh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/zsh
while true
do
./thread2
if [[ $? != 0 ]]
then
break
fi
done
echo "there was a problem"