aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/1.2.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/features/1.2.exp')
-rwxr-xr-xtest/features/1.2.exp78
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#
103send -- "firejail --noprofile --chroot=/tmp/chroot\r" 103if { $chroot == "chroot" } {
104expect { 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"
108sleep 1 108 }
109 109 sleep 1
110send -- "cat /proc/mounts | grep proc\r" 110
111expect { 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"
115expect { 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"
119expect { 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"
123expect { 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"
127expect { 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"
131expect { 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"
135expect { 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}
139after 100
140send -- "exit\r"
141sleep 1
142 144
143 145
144puts "\nall done\n" 146puts "\nall done\n"