summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-10-16 07:17:55 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2015-10-16 07:17:55 -0400
commit83b898c9d7c14e70bb7531fffc56de40d2db4fb8 (patch)
treed3b627fefbc898424cf17b81f9f1fa1b4b85954e /test
parenttesting (diff)
downloadfirejail-83b898c9d7c14e70bb7531fffc56de40d2db4fb8.tar.gz
firejail-83b898c9d7c14e70bb7531fffc56de40d2db4fb8.tar.zst
firejail-83b898c9d7c14e70bb7531fffc56de40d2db4fb8.zip
seccomp testing
Diffstat (limited to 'test')
-rwxr-xr-xtest/chk_config.exp3
-rwxr-xr-xtest/servers3.exp17
2 files changed, 18 insertions, 2 deletions
diff --git a/test/chk_config.exp b/test/chk_config.exp
index ada59d655..253ebf98e 100755
--- a/test/chk_config.exp
+++ b/test/chk_config.exp
@@ -80,7 +80,8 @@ expect {
80} 80}
81expect { 81expect {
82 timeout {puts "TESTING ERROR 5\n";exit} 82 timeout {puts "TESTING ERROR 5\n";exit}
83 "home" 83 "home" {puts "regular user\n"}
84 "root" {puts "root user\n"}
84} 85}
85 86
86 87
diff --git a/test/servers3.exp b/test/servers3.exp
index f23ffba46..da44a28ee 100755
--- a/test/servers3.exp
+++ b/test/servers3.exp
@@ -26,6 +26,21 @@ expect {
26 "apache" 26 "apache"
27} 27}
28 28
29send -- "rm index.html\r"
30sleep 1
31send -- "wget 0\r"
32expect {
33 timeout {puts "TESTING ERROR 2\n";exit}
34 "saved"
35}
36send -- "cat index.html\r"
37expect {
38 timeout {puts "TESTING ERROR 3\n";exit}
39 "This is the default web page for this server"
40}
41
42
43
29send -- "exit\r" 44send -- "exit\r"
30sleep 1 45sleep 1
31puts "\n" 46puts "\nall done\n"