From b2b603eac941d2cdea97d7886dc7181c179a8160 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 29 Mar 2017 12:09:26 -0400 Subject: testing --- test/stress/stress.sh | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'test/stress/stress.sh') diff --git a/test/stress/stress.sh b/test/stress/stress.sh index 96bbaf61b..e95d304c4 100755 --- a/test/stress/stress.sh +++ b/test/stress/stress.sh @@ -6,6 +6,35 @@ export MALLOC_CHECK_=3 export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) -echo "TESTING: macvlan (net_macvlan.exp)" + +# blacklist testing +rm -fr ~/fj-stress-test +mkdir ~/fj-stress-test +rm blacklist.profile +rm noblacklist.profile +rm env.profile +for i in `seq 1 100`; +do + echo $i + echo "hello" > ~/fj-stress-test/testfile$i + echo "blacklist ~/fj-stress-test/testfile$i" >> blacklist.profile + echo "noblacklist ~/fj-stress-test/testfile$i" >> noblacklist.profile + echo "env FJSTRESS$i=stress" >> env.profile +done +echo "include blacklist.profile" >> noblacklist.profile + +echo "TESTING: stress blacklist/noblacklist (/test/stress/blacklist.exp)" +./blacklist.exp + +echo "TESTING: stress env (/test/stress/env.exp)" +./env.exp + +rm -fr ~/fj-stress-test +rm blacklist.profile +rm noblacklist.profile +rm env.profile + +# network arp testing +echo "TESTING: macvlan (test/stress/net_macvlan.exp)" ./net_macvlan.exp -- cgit v1.2.3-70-g09d2