aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-04-24 07:42:47 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-04-24 07:42:47 -0400
commit9366b9ddd35168f9a42f374a887f3669ffbab234 (patch)
tree38631d1041646f3170e0099bf7cac02964470b7a /test
parenttesting (diff)
downloadfirejail-9366b9ddd35168f9a42f374a887f3669ffbab234.tar.gz
firejail-9366b9ddd35168f9a42f374a887f3669ffbab234.tar.zst
firejail-9366b9ddd35168f9a42f374a887f3669ffbab234.zip
testing
Diffstat (limited to 'test')
-rwxr-xr-xtest/test.sh3
-rwxr-xr-xtest/utils/ls.exp (renamed from test/ls.exp)6
-rwxr-xr-xtest/utils/utils.sh3
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)"
13echo "TESTING: bandwidth (bandwidth.exp)" 13echo "TESTING: bandwidth (bandwidth.exp)"
14./bandwidth.exp 14./bandwidth.exp
15 15
16echo "TESTING: file transfer (ls.exp)"
17./ls.exp
18
19echo "TESTING: protocol.print (protocol-print.exp)" 16echo "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 {
25sleep 1 25sleep 1
26send -- "firejail --get=test ~/lstesting\r" 26send -- "firejail --get=test ~/lstesting\r"
27expect { 27expect {
28 timeout {puts "TESTING ERROR 1\n";exit} 28 timeout {puts "TESTING ERROR 2\n";exit}
29 "lstesting" 29 "Transfer complete"
30} 30}
31sleep 1 31sleep 1
32send -- "cat lstesting\r" 32send -- "cat lstesting\r"
33expect { 33expect {
34 timeout {puts "TESTING ERROR 1\n";exit} 34 timeout {puts "TESTING ERROR 3\n";exit}
35 "my_testing" 35 "my_testing"
36} 36}
37sleep 1 37sleep 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)"
75echo "TESTING: firemon --caps (test/ustil/caps.exp)" 75echo "TESTING: firemon --caps (test/ustil/caps.exp)"
76./caps.exp 76./caps.exp
77 77
78echo "TESTING: file transfer (test/ustil/ls.exp)"
79./ls.exp
80