@@ -14,8 +14,8 @@ check_return() {
14
14
15
15
echo =====================================
16
16
17
- if [ ! -f spectest.conf ] ; then
18
- cat > spectest.conf << EOF
17
+ if [ ! -f ./test/testsuite/ spectest.conf ] ; then
18
+ cat > ./test/testsuite/ spectest.conf << EOF
19
19
# AFPSERVER=127.0.0.1
20
20
# AFPPORT=548
21
21
# USER1=
36
36
exit 0
37
37
fi
38
38
39
- . ./spectest.conf
39
+ . ./test/testsuite/ spectest.conf
40
40
41
41
# cleanup
42
42
if test ! -z " $LOCALVOL1PATH " ; then
@@ -52,28 +52,28 @@ rm -f spectest.log
52
52
53
53
# #
54
54
printf " Running spectest with two users..."
55
- ./spectest -" $AFPVERSION " -h " $AFPSERVER " -p " $AFPPORT " -u " $USER1 " -d " $USER2 " -w " $PASSWD " -s " $VOLUME1 " -S " $VOLUME2 " >> spectest.log 2>&1
55
+ ./test/testsuite/ spectest -" $AFPVERSION " -h " $AFPSERVER " -p " $AFPPORT " -u " $USER1 " -d " $USER2 " -w " $PASSWD " -s " $VOLUME1 " -S " $VOLUME2 " >> ./test/testsuite/ spectest.log 2>&1
56
56
check_return
57
57
58
58
# #
59
59
printf " Running spectest with local filesystem modifications..."
60
- ./T2_spectest -" $AFPVERSION " -h " $AFPSERVER " -p " $AFPPORT " -u " $USER1 " -d " $USER2 " -w " $PASSWD " -s " $VOLUME1 " -S " $VOLUME2 " -c " $LOCALVOL1PATH " >> spectest.log 2>&1
60
+ ./test/testsuite/ T2_spectest -" $AFPVERSION " -h " $AFPSERVER " -p " $AFPPORT " -u " $USER1 " -d " $USER2 " -w " $PASSWD " -s " $VOLUME1 " -S " $VOLUME2 " -c " $LOCALVOL1PATH " >> ./test/testsuite/ spectest.log 2>&1
61
61
check_return
62
62
63
63
echo =====================================
64
64
echo Failed tests
65
- echo ––––––––––––
66
- grep " summary.*FAIL" spectest.log | sed s/test//g | sort -n | uniq
65
+ echo ------------
66
+ grep " summary.*FAIL" ./test/testsuite/ spectest.log | sed s/test//g | sort -n | uniq
67
67
echo =====================================
68
68
69
69
echo Skipped tests
70
- echo –––––––––––––
71
- egrep ' summary.*NOT TESTED|summary.*SKIPPED' spectest.log | sed s/test//g | sort -n | uniq
70
+ echo -------------
71
+ egrep ' summary.*NOT TESTED|summary.*SKIPPED' ./test/testsuite/ spectest.log | sed s/test//g | sort -n | uniq
72
72
echo =====================================
73
73
74
- echo Successfull tests
75
- echo –––––––––––––––––
76
- grep " summary.*PASSED" spectest.log | sed s/test//g | sort -n | uniq
74
+ echo Successful tests
75
+ echo ----------------
76
+ grep " summary.*PASSED" ./test/testsuite/ spectest.log | sed s/test//g | sort -n | uniq
77
77
echo =====================================
78
78
79
79
# cleanup
0 commit comments