diff options
author | netblue30 <netblue30@yahoo.com> | 2016-01-26 09:52:24 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-01-26 09:52:24 -0500 |
commit | 751601ef56c3c7b36700b5501e3010a1d8053aeb (patch) | |
tree | c06ac5064a490f8b874bed84e656e214971e49ad /test/servers6.exp | |
parent | don't allow --chroot as user without seccomp support (diff) | |
download | firejail-751601ef56c3c7b36700b5501e3010a1d8053aeb.tar.gz firejail-751601ef56c3c7b36700b5501e3010a1d8053aeb.tar.zst firejail-751601ef56c3c7b36700b5501e3010a1d8053aeb.zip |
testing
Diffstat (limited to 'test/servers6.exp')
-rwxr-xr-x | test/servers6.exp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/servers6.exp b/test/servers6.exp index 2179f6f98..9ef4ea514 100755 --- a/test/servers6.exp +++ b/test/servers6.exp | |||
@@ -45,7 +45,7 @@ expect { | |||
45 | send -- "cat index.html\r" | 45 | send -- "cat index.html\r" |
46 | expect { | 46 | expect { |
47 | timeout {puts "TESTING ERROR 4\n";exit} | 47 | timeout {puts "TESTING ERROR 4\n";exit} |
48 | "Welcome to nginx" | 48 | "DOCTYPE html PUBLIC" |
49 | } | 49 | } |
50 | 50 | ||
51 | sleep 1 | 51 | sleep 1 |
@@ -63,6 +63,13 @@ expect { | |||
63 | "ppp" {puts "TESTING ERROR 6\n";exit} | 63 | "ppp" {puts "TESTING ERROR 6\n";exit} |
64 | "log" | 64 | "log" |
65 | } | 65 | } |
66 | sleep 1 | ||
67 | send -- "ls -al /tmp;pwd\r" | ||
68 | expect { | ||
69 | timeout {puts "TESTING ERROR 10\n";exit} | ||
70 | "X11-unix" {puts "TESTING ERROR 11\n";exit} | ||
71 | "/root" | ||
72 | } | ||
66 | sleep 2 | 73 | sleep 2 |
67 | 74 | ||
68 | puts "\nall done\n" | 75 | puts "\nall done\n" |