diff options
author | 2018-05-14 09:34:21 -0400 | |
---|---|---|
committer | 2018-05-14 09:34:21 -0400 | |
commit | 2626263c69d8b0e9628da7cbc06b635b4bf2ef06 (patch) | |
tree | 7ec6da512b60f68705b97cc614b05c43a5b1610c /test/private_dir.exp | |
parent | krita.profile: allow python (diff) | |
download | firejail-2626263c69d8b0e9628da7cbc06b635b4bf2ef06.tar.gz firejail-2626263c69d8b0e9628da7cbc06b635b4bf2ef06.tar.zst firejail-2626263c69d8b0e9628da7cbc06b635b4bf2ef06.zip |
remove unused files
Diffstat (limited to 'test/private_dir.exp')
-rwxr-xr-x | test/private_dir.exp | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/test/private_dir.exp b/test/private_dir.exp deleted file mode 100755 index a4beeba27..000000000 --- a/test/private_dir.exp +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | # testing private | ||
8 | send -- "firejail --private=./dirprivate\r" | ||
9 | expect { | ||
10 | timeout {puts "TESTING ERROR 0\n";exit} | ||
11 | "Child process initialized" | ||
12 | } | ||
13 | sleep 1 | ||
14 | |||
15 | send -- "ls -al;pwd\r" | ||
16 | expect { | ||
17 | timeout {puts "TESTING ERROR 0.1\n";exit} | ||
18 | "bashrc" | ||
19 | } | ||
20 | expect { | ||
21 | timeout {puts "TESTING ERROR 0.2\n";exit} | ||
22 | "home" | ||
23 | } | ||
24 | send -- "ls -al;pwd\r" | ||
25 | expect { | ||
26 | timeout { | ||
27 | # OpenSUSE doesn't use .Xauthority from user home directory | ||
28 | send -- "env | grep XAUTHORITY\r" | ||
29 | |||
30 | expect { | ||
31 | timeout {puts "TESTING ERROR 0.3\n";exit} | ||
32 | "/run/lightdm/netblue/xauthority" | ||
33 | } | ||
34 | } | ||
35 | ".Xauthority" | ||
36 | } | ||
37 | expect { | ||
38 | timeout {puts "TESTING ERROR 0.4\n";exit} | ||
39 | [lindex $argv 0] | ||
40 | } | ||
41 | |||
42 | send -- "ls -al | wc -l;pwd\r" | ||
43 | expect { | ||
44 | timeout {puts "TESTING ERROR 1\n";exit} | ||
45 | "6" {puts "normal system\n";} | ||
46 | "5" {puts "OpenSUSE\n";} | ||
47 | } | ||
48 | expect { | ||
49 | timeout {puts "TESTING ERROR 2\n";exit} | ||
50 | "home" | ||
51 | } | ||
52 | |||
53 | puts "\n" | ||