-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest_utilities.sh
executable file
·67 lines (51 loc) · 1.78 KB
/
test_utilities.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
cd src
rm -f smc.conf
cp smc.cs.conf smc.conf
make clean
make
echo "*****Test with 4 utilities*******"
echo "==== Testing obscure for input of length 10 ==="
./RunSMC.sh ../case_studies/obscure.1.input 10
echo
echo "==== Testing grep for file size of 629 bytes ==="
./RunSMC.sh ../case_studies/grep.input 629
echo
echo "==== Testing wc for file size of 629 bytes ==="
./RunSMC.sh ../case_studies/wc.input 629
echo
echo "==== Testing csplit for file size of 629 bytes ==="
./RunSMC.sh ../case_studies/csplit.input 629
echo
echo "*****Comparison with FuzzBALL*******"
echo "==== Testing obscure* for input of length 6 ==="
./RunSMC.sh ../case_studies/obscure.2.input 6
echo
echo "==== Testing strstr for input of length 5 ==="
./RunSMC.sh ../case_studies/strstr.1.input 5
echo
echo "==== Testing strstr for input of length 4 ==="
./RunSMC.sh ../case_studies/strstr.1.input 4
echo
echo "==== Testing match_regex for input of length 4 ==="
./RunSMC.sh ../case_studies/regex.input 4
echo
echo "*****Comparison with Castro et al.*******"
echo "==== Testing Ghttpd with input of length 620 ==="
./RunSMC.sh ../case_studies/ghttpd.input 620
echo
echo "==== Testing NullHTTPd with input of length 500 ==="
./RunSMC.sh ../case_studies/nullhttpd.input 500
echo
echo "********Comparison with QUAIL*******"
echo "==== Testing strstr(ab) with input of length 5 ==="
./RunSMC.sh ../case_studies/strstr.2.input 5
echo
echo "==== Testing strstr(ab) with input of length 7 ==="
./RunSMC.sh ../case_studies/strstr.2.input 7
echo
echo "==== Testing contains(ab) with input of length 5 ==="
./RunSMC.sh ../case_studies/contains.input 5
echo
echo "==== Testing contains(ab) with input of length 7 ==="
./RunSMC.sh ../case_studies/contains.input 7
cd ..