diff --git a/Makefile b/Makefile index ede5934..5f3ea7e 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/stress.zsh b/stress.zsh new file mode 100755 index 0000000..3c46bda --- /dev/null +++ b/stress.zsh @@ -0,0 +1,11 @@ +#!/bin/zsh +while true +do + ./thread2 + if [[ $? != 0 ]] + then + break + fi +done + +echo "there was a problem"