diff options
author | 2015-12-23 12:38:13 -0500 | |
---|---|---|
committer | 2015-12-23 12:38:13 -0500 | |
commit | 686bc51e38b0718651e82818871b0bf1451c8b21 (patch) | |
tree | 521f5fc2123c4782493fc86b46cc41533acb85db /test/features/3.3.exp | |
parent | 0.9.36 testing (diff) | |
download | firejail-686bc51e38b0718651e82818871b0bf1451c8b21.tar.gz firejail-686bc51e38b0718651e82818871b0bf1451c8b21.tar.zst firejail-686bc51e38b0718651e82818871b0bf1451c8b21.zip |
0.9.36 testing
Diffstat (limited to 'test/features/3.3.exp')
-rwxr-xr-x | test/features/3.3.exp | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/test/features/3.3.exp b/test/features/3.3.exp index 432a135d7..a53a4ade5 100755 --- a/test/features/3.3.exp +++ b/test/features/3.3.exp | |||
@@ -6,6 +6,7 @@ | |||
6 | set timeout 10 | 6 | set timeout 10 |
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | set overlay [lindex $argv 0] | ||
9 | 10 | ||
10 | # | 11 | # |
11 | # N | 12 | # N |
@@ -30,21 +31,23 @@ sleep 1 | |||
30 | # | 31 | # |
31 | # O | 32 | # O |
32 | # | 33 | # |
33 | send -- "firejail --noprofile --overlay --blacklist=/home/netblue/.config\r" | 34 | if { $overlay == "overlay" } { |
34 | expect { | 35 | send -- "firejail --noprofile --overlay --blacklist=/home/netblue/.config\r" |
35 | timeout {puts "TESTING ERROR 2\n";exit} | 36 | expect { |
36 | "Child process initialized" | 37 | timeout {puts "TESTING ERROR 2\n";exit} |
38 | "Child process initialized" | ||
39 | } | ||
40 | sleep 1 | ||
41 | |||
42 | send -- "cd ~/.config\r" | ||
43 | expect { | ||
44 | timeout {puts "TESTING ERROR 3\n";exit} | ||
45 | "Permission denied" | ||
46 | } | ||
47 | after 100 | ||
48 | send -- "exit\r" | ||
49 | sleep 1 | ||
37 | } | 50 | } |
38 | sleep 1 | ||
39 | |||
40 | send -- "cd ~/.config\r" | ||
41 | expect { | ||
42 | timeout {puts "TESTING ERROR 3\n";exit} | ||
43 | "Permission denied" | ||
44 | } | ||
45 | after 100 | ||
46 | send -- "exit\r" | ||
47 | sleep 1 | ||
48 | 51 | ||
49 | # | 52 | # |
50 | # C | 53 | # C |