Added a stress test for the segv
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
while true
|
||||||
|
do
|
||||||
|
./thread2
|
||||||
|
if [[ $? != 0 ]]
|
||||||
|
then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "there was a problem"
|
||||||
Reference in New Issue
Block a user