From 403dcc11f2798de380e934c7a0e2298cf65cd8cb Mon Sep 17 00:00:00 2001 From: "Stephen M. McQuay" Date: Fri, 25 May 2012 08:55:29 -0600 Subject: [PATCH] Added a stress test for the segv --- Makefile | 3 +++ stress.zsh | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100755 stress.zsh 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"