diff options
Diffstat (limited to 'test/stress/stress.sh')
-rwxr-xr-x | test/stress/stress.sh | 31 |
1 files changed, 30 insertions, 1 deletions
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 @@ | |||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | 8 | ||
9 | echo "TESTING: macvlan (net_macvlan.exp)" | 9 | |
10 | # blacklist testing | ||
11 | rm -fr ~/fj-stress-test | ||
12 | mkdir ~/fj-stress-test | ||
13 | rm blacklist.profile | ||
14 | rm noblacklist.profile | ||
15 | rm env.profile | ||
16 | for i in `seq 1 100`; | ||
17 | do | ||
18 | echo $i | ||
19 | echo "hello" > ~/fj-stress-test/testfile$i | ||
20 | echo "blacklist ~/fj-stress-test/testfile$i" >> blacklist.profile | ||
21 | echo "noblacklist ~/fj-stress-test/testfile$i" >> noblacklist.profile | ||
22 | echo "env FJSTRESS$i=stress" >> env.profile | ||
23 | done | ||
24 | echo "include blacklist.profile" >> noblacklist.profile | ||
25 | |||
26 | echo "TESTING: stress blacklist/noblacklist (/test/stress/blacklist.exp)" | ||
27 | ./blacklist.exp | ||
28 | |||
29 | echo "TESTING: stress env (/test/stress/env.exp)" | ||
30 | ./env.exp | ||
31 | |||
32 | rm -fr ~/fj-stress-test | ||
33 | rm blacklist.profile | ||
34 | rm noblacklist.profile | ||
35 | rm env.profile | ||
36 | |||
37 | # network arp testing | ||
38 | echo "TESTING: macvlan (test/stress/net_macvlan.exp)" | ||
10 | ./net_macvlan.exp | 39 | ./net_macvlan.exp |
11 | 40 | ||