diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/test.sh | 3 | ||||
-rwxr-xr-x | test/utils/ls.exp (renamed from test/ls.exp) | 6 | ||||
-rwxr-xr-x | test/utils/utils.sh | 3 |
3 files changed, 6 insertions, 6 deletions
diff --git a/test/test.sh b/test/test.sh index e92a0f902..df46101a8 100755 --- a/test/test.sh +++ b/test/test.sh | |||
@@ -13,9 +13,6 @@ echo "TESTING: network profile (net_profile.exp)" | |||
13 | echo "TESTING: bandwidth (bandwidth.exp)" | 13 | echo "TESTING: bandwidth (bandwidth.exp)" |
14 | ./bandwidth.exp | 14 | ./bandwidth.exp |
15 | 15 | ||
16 | echo "TESTING: file transfer (ls.exp)" | ||
17 | ./ls.exp | ||
18 | |||
19 | echo "TESTING: protocol.print (protocol-print.exp)" | 16 | echo "TESTING: protocol.print (protocol-print.exp)" |
20 | ./protocol-print.exp | 17 | ./protocol-print.exp |
21 | 18 | ||
diff --git a/test/ls.exp b/test/utils/ls.exp index 5fe6d79c6..1936c0aff 100755 --- a/test/ls.exp +++ b/test/utils/ls.exp | |||
@@ -25,13 +25,13 @@ expect { | |||
25 | sleep 1 | 25 | sleep 1 |
26 | send -- "firejail --get=test ~/lstesting\r" | 26 | send -- "firejail --get=test ~/lstesting\r" |
27 | expect { | 27 | expect { |
28 | timeout {puts "TESTING ERROR 1\n";exit} | 28 | timeout {puts "TESTING ERROR 2\n";exit} |
29 | "lstesting" | 29 | "Transfer complete" |
30 | } | 30 | } |
31 | sleep 1 | 31 | sleep 1 |
32 | send -- "cat lstesting\r" | 32 | send -- "cat lstesting\r" |
33 | expect { | 33 | expect { |
34 | timeout {puts "TESTING ERROR 1\n";exit} | 34 | timeout {puts "TESTING ERROR 3\n";exit} |
35 | "my_testing" | 35 | "my_testing" |
36 | } | 36 | } |
37 | sleep 1 | 37 | sleep 1 |
diff --git a/test/utils/utils.sh b/test/utils/utils.sh index 23cbc6b35..474c026d1 100755 --- a/test/utils/utils.sh +++ b/test/utils/utils.sh | |||
@@ -75,3 +75,6 @@ echo "TESTING: firemon --seccomp (test/utils/seccomp.exp)" | |||
75 | echo "TESTING: firemon --caps (test/ustil/caps.exp)" | 75 | echo "TESTING: firemon --caps (test/ustil/caps.exp)" |
76 | ./caps.exp | 76 | ./caps.exp |
77 | 77 | ||
78 | echo "TESTING: file transfer (test/ustil/ls.exp)" | ||
79 | ./ls.exp | ||
80 | |||