diff options
author | 2019-02-01 09:18:29 -0500 | |
---|---|---|
committer | 2019-02-01 09:18:29 -0500 | |
commit | f79d62c1ea8a951fc757346dc3015ee4b009e52b (patch) | |
tree | 8ae147e23c0ef6b27fdb66c41cb9c038762efd5f /test/utils/name.exp | |
parent | Merge pull request #2372 from rusty-snake/additional-blacklisting (diff) | |
download | firejail-f79d62c1ea8a951fc757346dc3015ee4b009e52b.tar.gz firejail-f79d62c1ea8a951fc757346dc3015ee4b009e52b.tar.zst firejail-f79d62c1ea8a951fc757346dc3015ee4b009e52b.zip |
--name rework
Diffstat (limited to 'test/utils/name.exp')
-rwxr-xr-x | test/utils/name.exp | 35 |
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 | } |
112 | expect { | 112 | expect { |
113 | timeout {puts "TESTING ERROR 13\n";exit} | 113 | timeout {puts "TESTING ERROR 13\n";exit} |
114 | ":ftest-1:" | 114 | ":ftest-" |
115 | } | 115 | } |
116 | expect { | 116 | expect { |
117 | timeout {puts "TESTING ERROR 14\n";exit} | 117 | timeout {puts "TESTING ERROR 14\n";exit} |
118 | ":ftest-2:" | 118 | ":ftest-" |
119 | } | 119 | } |
120 | expect { | 120 | expect { |
121 | timeout {puts "TESTING ERROR 15\n";exit} | 121 | timeout {puts "TESTING ERROR 15\n";exit} |
122 | ":ftest-3:" | 122 | ":ftest-" |
123 | } | 123 | } |
124 | expect { | 124 | expect { |
125 | timeout {puts "TESTING ERROR 16\n";exit} | 125 | timeout {puts "TESTING ERROR 16\n";exit} |
126 | ":ftest-4:" | 126 | ":ftest-" |
127 | } | 127 | } |
128 | expect { | 128 | expect { |
129 | timeout {puts "TESTING ERROR 17\n";exit} | 129 | timeout {puts "TESTING ERROR 17\n";exit} |
130 | ":ftest-5:" | 130 | ":ftest-" |
131 | } | 131 | } |
132 | expect { | 132 | expect { |
133 | timeout {puts "TESTING ERROR 18\n";exit} | 133 | timeout {puts "TESTING ERROR 18\n";exit} |
134 | ":ftest-6:" | 134 | ":ftest-" |
135 | } | 135 | } |
136 | expect { | 136 | expect { |
137 | timeout {puts "TESTING ERROR 19\n";exit} | 137 | timeout {puts "TESTING ERROR 19\n";exit} |
138 | ":ftest-7:" | 138 | ":ftest-" |
139 | } | 139 | } |
140 | expect { | 140 | expect { |
141 | timeout {puts "TESTING ERROR 20\n";exit} | 141 | timeout {puts "TESTING ERROR 20\n";exit} |
142 | ":ftest-8:" | 142 | ":ftest-" |
143 | } | 143 | } |
144 | expect { | 144 | expect { |
145 | timeout {puts "TESTING ERROR 21\n";exit} | 145 | timeout {puts "TESTING ERROR 21\n";exit} |
146 | ":ftest-9:" | 146 | ":ftest-" |
147 | } | 147 | } |
148 | expect { | 148 | expect { |
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 | } |
156 | after 100 | ||
157 | |||
158 | send -- "firejail --shutdown=ftest-5\r" | ||
159 | expect { | ||
160 | timeout {puts "TESTING ERROR 11\n";exit} | ||
161 | "Sending SIGTERM" | ||
162 | } | ||
163 | sleep 1 | 156 | sleep 1 |
164 | |||
165 | spawn $env(SHELL) | ||
166 | send -- "firejail --list\r" | ||
167 | expect { | ||
168 | timeout {puts "TESTING ERROR 12\n";exit} | ||
169 | ":ftest-5:" {puts "TESTING ERROR 15\n";exit} | ||
170 | ":ftest-9:" | ||
171 | } | ||
172 | |||
173 | after 100 | ||
174 | puts "all done\n" | 157 | puts "all done\n" |