diff options
author | startx2017 <vradu.startx@yandex.com> | 2018-05-14 09:34:21 -0400 |
---|---|---|
committer | startx2017 <vradu.startx@yandex.com> | 2018-05-14 09:34:21 -0400 |
commit | 2626263c69d8b0e9628da7cbc06b635b4bf2ef06 (patch) | |
tree | 7ec6da512b60f68705b97cc614b05c43a5b1610c /test/tty.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/tty.exp')
-rwxr-xr-x | test/tty.exp | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/test/tty.exp b/test/tty.exp deleted file mode 100755 index 0d66f5ce7..000000000 --- a/test/tty.exp +++ /dev/null | |||
@@ -1,96 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "firejail\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "Child process initialized" | ||
11 | } | ||
12 | sleep 2 | ||
13 | send -- "xterm &\r" | ||
14 | sleep 2 | ||
15 | send -- "urxvt &\r" | ||
16 | sleep 2 | ||
17 | send -- "rxvt &\r" | ||
18 | sleep 2 | ||
19 | |||
20 | send -- "ps aux\r" | ||
21 | expect { | ||
22 | timeout {puts "TESTING ERROR 1\n";exit} | ||
23 | "USER" | ||
24 | } | ||
25 | expect { | ||
26 | timeout {puts "TESTING ERROR 2\n";exit} | ||
27 | "xterm" | ||
28 | } | ||
29 | expect { | ||
30 | timeout {puts "TESTING ERROR 3\n";exit} | ||
31 | "urxvt" | ||
32 | } | ||
33 | expect { | ||
34 | timeout {puts "TESTING ERROR 4\n";exit} | ||
35 | "rxvt" | ||
36 | } | ||
37 | expect { | ||
38 | timeout {puts "TESTING ERROR 5\n";exit} | ||
39 | "ps aux" | ||
40 | } | ||
41 | |||
42 | send -- "pkill xterm\r" | ||
43 | sleep 1 | ||
44 | send -- "pkill urxvt\r" | ||
45 | sleep 1 | ||
46 | send -- "pkill rxvt\r" | ||
47 | sleep 1 | ||
48 | send -- "exit\r" | ||
49 | sleep 2 | ||
50 | |||
51 | |||
52 | send -- "firejail --private-dev\r" | ||
53 | expect { | ||
54 | timeout {puts "TESTING ERROR 10\n";exit} | ||
55 | "Child process initialized" | ||
56 | } | ||
57 | sleep 2 | ||
58 | send -- "xterm &\r" | ||
59 | sleep 2 | ||
60 | send -- "urxvt &\r" | ||
61 | sleep 2 | ||
62 | send -- "rxvt &\r" | ||
63 | sleep 2 | ||
64 | |||
65 | send -- "ps aux\r" | ||
66 | expect { | ||
67 | timeout {puts "TESTING ERROR 11\n";exit} | ||
68 | "USER" | ||
69 | } | ||
70 | expect { | ||
71 | timeout {puts "TESTING ERROR 12\n";exit} | ||
72 | "xterm" | ||
73 | } | ||
74 | expect { | ||
75 | timeout {puts "TESTING ERROR 13\n";exit} | ||
76 | "urxvt" | ||
77 | } | ||
78 | expect { | ||
79 | timeout {puts "TESTING ERROR 14\n";exit} | ||
80 | "rxvt" | ||
81 | } | ||
82 | expect { | ||
83 | timeout {puts "TESTING ERROR 15\n";exit} | ||
84 | "ps aux" | ||
85 | } | ||
86 | |||
87 | send -- "pkill xterm\r" | ||
88 | sleep 1 | ||
89 | send -- "pkill urxvt\r" | ||
90 | sleep 1 | ||
91 | send -- "pkill rxvt\r" | ||
92 | sleep 1 | ||
93 | send -- "exit\r" | ||
94 | sleep 2 | ||
95 | |||
96 | puts "\n" | ||