diff options
author | netblue30 <netblue30@yahoo.com> | 2015-12-23 16:42:58 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-12-23 16:42:58 -0500 |
commit | dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31 (patch) | |
tree | 144fba235fec87d74deff110aaa71891174b3eef /test/features/1.2.exp | |
parent | 0.9.36 testing (diff) | |
download | firejail-dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31.tar.gz firejail-dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31.tar.zst firejail-dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31.zip |
0.9.36 testing
Diffstat (limited to 'test/features/1.2.exp')
-rwxr-xr-x | test/features/1.2.exp | 78 |
1 files changed, 40 insertions, 38 deletions
diff --git a/test/features/1.2.exp b/test/features/1.2.exp index d487537e4..0e62895dd 100755 --- a/test/features/1.2.exp +++ b/test/features/1.2.exp | |||
@@ -100,45 +100,47 @@ if { $overlay == "overlay" } { | |||
100 | # | 100 | # |
101 | # C | 101 | # C |
102 | # | 102 | # |
103 | send -- "firejail --noprofile --chroot=/tmp/chroot\r" | 103 | if { $chroot == "chroot" } { |
104 | expect { | 104 | send -- "firejail --noprofile --chroot=/tmp/chroot\r" |
105 | timeout {puts "TESTING ERROR 4\n";exit} | 105 | expect { |
106 | "Child process initialized" | 106 | timeout {puts "TESTING ERROR 4\n";exit} |
107 | } | 107 | "Child process initialized" |
108 | sleep 1 | 108 | } |
109 | 109 | sleep 1 | |
110 | send -- "cat /proc/mounts | grep proc\r" | 110 | |
111 | expect { | 111 | send -- "cat /proc/mounts | grep proc\r" |
112 | timeout {puts "TESTING ERROR 5.1\n";exit} | 112 | expect { |
113 | "proc /proc proc" | 113 | timeout {puts "TESTING ERROR 5.1\n";exit} |
114 | } | 114 | "proc /proc proc" |
115 | expect { | 115 | } |
116 | timeout {puts "TESTING ERROR 5.2\n";exit} | 116 | expect { |
117 | "proc /proc proc" | 117 | timeout {puts "TESTING ERROR 5.2\n";exit} |
118 | } | 118 | "proc /proc proc" |
119 | expect { | 119 | } |
120 | timeout {puts "TESTING ERROR 5.3\n";exit} | 120 | expect { |
121 | "proc /proc/sys proc" | 121 | timeout {puts "TESTING ERROR 5.3\n";exit} |
122 | } | 122 | "proc /proc/sys proc" |
123 | expect { | 123 | } |
124 | timeout {puts "TESTING ERROR 5.4\n";exit} | 124 | expect { |
125 | "proc /proc/sysrq-trigger proc" | 125 | timeout {puts "TESTING ERROR 5.4\n";exit} |
126 | } | 126 | "proc /proc/sysrq-trigger proc" |
127 | expect { | 127 | } |
128 | timeout {puts "TESTING ERROR 5.5\n";exit} | 128 | expect { |
129 | "proc /proc/sys/kernel/hotplug" | 129 | timeout {puts "TESTING ERROR 5.5\n";exit} |
130 | } | 130 | "proc /proc/sys/kernel/hotplug" |
131 | expect { | 131 | } |
132 | timeout {puts "TESTING ERROR 5.6\n";exit} | 132 | expect { |
133 | "proc /proc/irq proc" | 133 | timeout {puts "TESTING ERROR 5.6\n";exit} |
134 | } | 134 | "proc /proc/irq proc" |
135 | expect { | 135 | } |
136 | timeout {puts "TESTING ERROR 5.7\n";exit} | 136 | expect { |
137 | "proc /proc/bus proc" | 137 | timeout {puts "TESTING ERROR 5.7\n";exit} |
138 | "proc /proc/bus proc" | ||
139 | } | ||
140 | after 100 | ||
141 | send -- "exit\r" | ||
142 | sleep 1 | ||
138 | } | 143 | } |
139 | after 100 | ||
140 | send -- "exit\r" | ||
141 | sleep 1 | ||
142 | 144 | ||
143 | 145 | ||
144 | puts "\nall done\n" | 146 | puts "\nall done\n" |