diff options
Diffstat (limited to 'test/features/3.11.exp')
-rwxr-xr-x | test/features/3.11.exp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/test/features/3.11.exp b/test/features/3.11.exp index dc41ed743..4e89aa372 100755 --- a/test/features/3.11.exp +++ b/test/features/3.11.exp | |||
@@ -65,7 +65,7 @@ sleep 1 | |||
65 | if { $overlay == "overlay" } { | 65 | if { $overlay == "overlay" } { |
66 | send -- "rm -fr ~/firejail-xy76_u9\r" | 66 | send -- "rm -fr ~/firejail-xy76_u9\r" |
67 | sleep 1 | 67 | sleep 1 |
68 | 68 | ||
69 | send -- "firejail --profile=3.11.profile\r" | 69 | send -- "firejail --profile=3.11.profile\r" |
70 | expect { | 70 | expect { |
71 | timeout {puts "TESTING ERROR 10\n";exit} | 71 | timeout {puts "TESTING ERROR 10\n";exit} |
@@ -73,7 +73,7 @@ if { $overlay == "overlay" } { | |||
73 | "Child process initialized" {puts "normal system\n"} | 73 | "Child process initialized" {puts "normal system\n"} |
74 | } | 74 | } |
75 | sleep 1 | 75 | sleep 1 |
76 | 76 | ||
77 | send -- "ls -l ~ | grep firejail-xy76_u9\r" | 77 | send -- "ls -l ~ | grep firejail-xy76_u9\r" |
78 | expect { | 78 | expect { |
79 | timeout {puts "TESTING ERROR 11\n";exit} | 79 | timeout {puts "TESTING ERROR 11\n";exit} |
@@ -89,7 +89,7 @@ if { $overlay == "overlay" } { | |||
89 | "firejail-xy76_u9" | 89 | "firejail-xy76_u9" |
90 | } | 90 | } |
91 | after 100 | 91 | after 100 |
92 | 92 | ||
93 | send -- "ls -l ~/firejail-xy76_u9\r" | 93 | send -- "ls -l ~/firejail-xy76_u9\r" |
94 | expect { | 94 | expect { |
95 | timeout {puts "TESTING ERROR 14\n";exit} | 95 | timeout {puts "TESTING ERROR 14\n";exit} |
@@ -105,7 +105,7 @@ if { $overlay == "overlay" } { | |||
105 | "testdir" | 105 | "testdir" |
106 | } | 106 | } |
107 | after 100 | 107 | after 100 |
108 | 108 | ||
109 | send -- "exit\r" | 109 | send -- "exit\r" |
110 | sleep 1 | 110 | sleep 1 |
111 | send -- "rm -fr ~/firejail-xy76_u9\r" | 111 | send -- "rm -fr ~/firejail-xy76_u9\r" |
@@ -120,14 +120,14 @@ if { $overlay == "overlay" } { | |||
120 | if { $chroot == "chroot" } { | 120 | if { $chroot == "chroot" } { |
121 | send -- "rm -fr ~/firejail-xy76_u9\r" | 121 | send -- "rm -fr ~/firejail-xy76_u9\r" |
122 | sleep 1 | 122 | sleep 1 |
123 | 123 | ||
124 | send -- "firejail --profile=3.11.profile\r" | 124 | send -- "firejail --profile=3.11.profile\r" |
125 | expect { | 125 | expect { |
126 | timeout {puts "TESTING ERROR 20\n";exit} | 126 | timeout {puts "TESTING ERROR 20\n";exit} |
127 | "Child process initialized" | 127 | "Child process initialized" |
128 | } | 128 | } |
129 | sleep 1 | 129 | sleep 1 |
130 | 130 | ||
131 | send -- "ls -l ~ | grep firejail-xy76_u9\r" | 131 | send -- "ls -l ~ | grep firejail-xy76_u9\r" |
132 | expect { | 132 | expect { |
133 | timeout {puts "TESTING ERROR 21\n";exit} | 133 | timeout {puts "TESTING ERROR 21\n";exit} |
@@ -143,7 +143,7 @@ if { $chroot == "chroot" } { | |||
143 | "firejail-xy76_u9" | 143 | "firejail-xy76_u9" |
144 | } | 144 | } |
145 | after 100 | 145 | after 100 |
146 | 146 | ||
147 | send -- "ls -l ~/firejail-xy76_u9\r" | 147 | send -- "ls -l ~/firejail-xy76_u9\r" |
148 | expect { | 148 | expect { |
149 | timeout {puts "TESTING ERROR 24\n";exit} | 149 | timeout {puts "TESTING ERROR 24\n";exit} |
@@ -159,7 +159,7 @@ if { $chroot == "chroot" } { | |||
159 | "testdir" | 159 | "testdir" |
160 | } | 160 | } |
161 | after 100 | 161 | after 100 |
162 | 162 | ||
163 | send -- "rm -fr ~/firejail-xy76_u9\r" | 163 | send -- "rm -fr ~/firejail-xy76_u9\r" |
164 | sleep 1 | 164 | sleep 1 |
165 | 165 | ||
@@ -169,4 +169,3 @@ if { $chroot == "chroot" } { | |||
169 | 169 | ||
170 | 170 | ||
171 | puts "\nall done\n" | 171 | puts "\nall done\n" |
172 | |||