Added a stress test for the segv
This commit is contained in:
parent
0a9c36b286
commit
403dcc11f2
3
Makefile
3
Makefile
@ -31,3 +31,6 @@ run: all
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -vf auto constexpr core* ilists init init_new lambda loops regex1 regex2 thread thread2 tuple
|
@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
11
stress.zsh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
while true
|
||||||
|
do
|
||||||
|
./thread2
|
||||||
|
if [[ $? != 0 ]]
|
||||||
|
then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "there was a problem"
|
Loading…
Reference in New Issue
Block a user