aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2019-02-01 09:18:29 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2019-02-01 09:18:29 -0500
commitf79d62c1ea8a951fc757346dc3015ee4b009e52b (patch)
tree8ae147e23c0ef6b27fdb66c41cb9c038762efd5f /test
parentMerge pull request #2372 from rusty-snake/additional-blacklisting (diff)
downloadfirejail-f79d62c1ea8a951fc757346dc3015ee4b009e52b.tar.gz
firejail-f79d62c1ea8a951fc757346dc3015ee4b009e52b.tar.zst
firejail-f79d62c1ea8a951fc757346dc3015ee4b009e52b.zip
--name rework
Diffstat (limited to 'test')
-rwxr-xr-xtest/utils/name.exp35
1 files changed, 9 insertions, 26 deletions
diff --git a/test/utils/name.exp b/test/utils/name.exp
index f00b5866e..eccb0a699 100755
--- a/test/utils/name.exp
+++ b/test/utils/name.exp
@@ -111,39 +111,39 @@ expect {
111} 111}
112expect { 112expect {
113 timeout {puts "TESTING ERROR 13\n";exit} 113 timeout {puts "TESTING ERROR 13\n";exit}
114 ":ftest-1:" 114 ":ftest-"
115} 115}
116expect { 116expect {
117 timeout {puts "TESTING ERROR 14\n";exit} 117 timeout {puts "TESTING ERROR 14\n";exit}
118 ":ftest-2:" 118 ":ftest-"
119} 119}
120expect { 120expect {
121 timeout {puts "TESTING ERROR 15\n";exit} 121 timeout {puts "TESTING ERROR 15\n";exit}
122 ":ftest-3:" 122 ":ftest-"
123} 123}
124expect { 124expect {
125 timeout {puts "TESTING ERROR 16\n";exit} 125 timeout {puts "TESTING ERROR 16\n";exit}
126 ":ftest-4:" 126 ":ftest-"
127} 127}
128expect { 128expect {
129 timeout {puts "TESTING ERROR 17\n";exit} 129 timeout {puts "TESTING ERROR 17\n";exit}
130 ":ftest-5:" 130 ":ftest-"
131} 131}
132expect { 132expect {
133 timeout {puts "TESTING ERROR 18\n";exit} 133 timeout {puts "TESTING ERROR 18\n";exit}
134 ":ftest-6:" 134 ":ftest-"
135} 135}
136expect { 136expect {
137 timeout {puts "TESTING ERROR 19\n";exit} 137 timeout {puts "TESTING ERROR 19\n";exit}
138 ":ftest-7:" 138 ":ftest-"
139} 139}
140expect { 140expect {
141 timeout {puts "TESTING ERROR 20\n";exit} 141 timeout {puts "TESTING ERROR 20\n";exit}
142 ":ftest-8:" 142 ":ftest-"
143} 143}
144expect { 144expect {
145 timeout {puts "TESTING ERROR 21\n";exit} 145 timeout {puts "TESTING ERROR 21\n";exit}
146 ":ftest-9:" 146 ":ftest-"
147} 147}
148expect { 148expect {
149 timeout {puts "TESTING ERROR 22\n";exit} 149 timeout {puts "TESTING ERROR 22\n";exit}
@@ -153,22 +153,5 @@ expect {
153 timeout {puts "TESTING ERROR 23\n";exit} 153 timeout {puts "TESTING ERROR 23\n";exit}
154 ":ftest-" 154 ":ftest-"
155} 155}
156after 100
157
158send -- "firejail --shutdown=ftest-5\r"
159expect {
160 timeout {puts "TESTING ERROR 11\n";exit}
161 "Sending SIGTERM"
162}
163sleep 1 156sleep 1
164
165spawn $env(SHELL)
166send -- "firejail --list\r"
167expect {
168 timeout {puts "TESTING ERROR 12\n";exit}
169 ":ftest-5:" {puts "TESTING ERROR 15\n";exit}
170 ":ftest-9:"
171}
172
173after 100
174puts "all done\n" 157puts "all done\n"