diff options
author | netblue30 <netblue30@yahoo.com> | 2015-12-17 12:35:15 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-12-17 12:35:15 -0500 |
commit | 811af13d5120e85d1e0cb2cbc9ea0b60c0350af7 (patch) | |
tree | fc929d93a2852c18e20bcc938e5cdebef1f1af71 /test/firejail-in-firejail2.exp | |
parent | testing (diff) | |
download | firejail-811af13d5120e85d1e0cb2cbc9ea0b60c0350af7.tar.gz firejail-811af13d5120e85d1e0cb2cbc9ea0b60c0350af7.tar.zst firejail-811af13d5120e85d1e0cb2cbc9ea0b60c0350af7.zip |
added --force option
Diffstat (limited to 'test/firejail-in-firejail2.exp')
-rwxr-xr-x | test/firejail-in-firejail2.exp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/firejail-in-firejail2.exp b/test/firejail-in-firejail2.exp new file mode 100755 index 000000000..b0fed0dae --- /dev/null +++ b/test/firejail-in-firejail2.exp | |||
@@ -0,0 +1,21 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "firejail --noprofile\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 1\n";exit} | ||
10 | "Child process initialized" | ||
11 | } | ||
12 | sleep 1 | ||
13 | |||
14 | send -- "firejail --force\r" | ||
15 | expect { | ||
16 | timeout {puts "TESTING ERROR 1\n";exit} | ||
17 | "Child process initialized" | ||
18 | } | ||
19 | sleep 1 | ||
20 | |||
21 | puts "\nall done\n" | ||