diff options
author | 2017-10-20 10:12:00 -0500 | |
---|---|---|
committer | 2017-10-20 10:12:00 -0500 | |
commit | 090c88d432f3c06e9ecc90f99d57cc438c9d6320 (patch) | |
tree | a2923c4fa72b553a844cb4482679612c26903e29 /test | |
parent | Add private-lib to gedit and pluma. (diff) | |
parent | allow blacklists noexec etc. in private home directories; fix bug #1608 (diff) | |
download | firejail-090c88d432f3c06e9ecc90f99d57cc438c9d6320.tar.gz firejail-090c88d432f3c06e9ecc90f99d57cc438c9d6320.tar.zst firejail-090c88d432f3c06e9ecc90f99d57cc438c9d6320.zip |
Merge branch 'master' of https://github.com/netblue30/firejail
Diffstat (limited to 'test')
-rwxr-xr-x | test/fs/private-home-dir.exp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/test/fs/private-home-dir.exp b/test/fs/private-home-dir.exp index 9c97ff4ea..d58adf801 100755 --- a/test/fs/private-home-dir.exp +++ b/test/fs/private-home-dir.exp | |||
@@ -74,32 +74,6 @@ sleep 1 | |||
74 | 74 | ||
75 | send -- "firejail --debug --noprofile --blacklist=~/test_dir_2 --private=~/_firejail_test_dir_\r" | 75 | send -- "firejail --debug --noprofile --blacklist=~/test_dir_2 --private=~/_firejail_test_dir_\r" |
76 | expect { | 76 | expect { |
77 | timeout {puts "TESTING ERROR 6\n";exit} | ||
78 | "Not blacklist" | ||
79 | } | ||
80 | expect { | ||
81 | timeout {puts "TESTING ERROR 7\n";exit} | ||
82 | "test_dir_2" | ||
83 | } | ||
84 | expect { | ||
85 | timeout {puts "TESTING ERROR 8\n";exit} | ||
86 | "Child process initialized" | ||
87 | } | ||
88 | |||
89 | sleep 1 | ||
90 | |||
91 | send -- "find ~\r" | ||
92 | expect { | ||
93 | timeout {puts "TESTING ERROR 9\n";exit} | ||
94 | "testfile" | ||
95 | } | ||
96 | after 100 | ||
97 | |||
98 | send -- "exit\r" | ||
99 | sleep 1 | ||
100 | |||
101 | send -- "firejail --debug --noprofile --allow-private-blacklist --blacklist=~/test_dir_2 --private=~/_firejail_test_dir_\r" | ||
102 | expect { | ||
103 | timeout {puts "TESTING ERROR 10\n";exit} | 77 | timeout {puts "TESTING ERROR 10\n";exit} |
104 | "Disable" | 78 | "Disable" |
105 | } | 79 | } |