diff options
author | netblue30 <netblue30@yahoo.com> | 2015-12-23 12:38:13 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-12-23 12:38:13 -0500 |
commit | 686bc51e38b0718651e82818871b0bf1451c8b21 (patch) | |
tree | 521f5fc2123c4782493fc86b46cc41533acb85db /test/features/2.5.exp | |
parent | 0.9.36 testing (diff) | |
download | firejail-686bc51e38b0718651e82818871b0bf1451c8b21.tar.gz firejail-686bc51e38b0718651e82818871b0bf1451c8b21.tar.zst firejail-686bc51e38b0718651e82818871b0bf1451c8b21.zip |
0.9.36 testing
Diffstat (limited to 'test/features/2.5.exp')
-rwxr-xr-x | test/features/2.5.exp | 55 |
1 files changed, 29 insertions, 26 deletions
diff --git a/test/features/2.5.exp b/test/features/2.5.exp index 4ba1f5a28..e189f145b 100755 --- a/test/features/2.5.exp +++ b/test/features/2.5.exp | |||
@@ -6,6 +6,7 @@ | |||
6 | set timeout 10 | 6 | set timeout 10 |
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | set overlay [lindex $argv 0] | ||
9 | 10 | ||
10 | # | 11 | # |
11 | # N | 12 | # N |
@@ -41,33 +42,35 @@ sleep 1 | |||
41 | # | 42 | # |
42 | # O | 43 | # O |
43 | # | 44 | # |
44 | send -- "firejail --noprofile --overlay --interface=eth0.6\r" | 45 | if { $overlay == "overlay" } { |
45 | expect { | 46 | send -- "firejail --noprofile --overlay --interface=eth0.6\r" |
46 | timeout {puts "TESTING ERROR 2\n";exit} | 47 | expect { |
47 | "Child process initialized" | 48 | timeout {puts "TESTING ERROR 2\n";exit} |
48 | } | 49 | "Child process initialized" |
49 | sleep 1 | 50 | } |
50 | 51 | sleep 1 | |
51 | send -- "/sbin/ifconfig\r" | 52 | |
52 | expect { | 53 | send -- "/sbin/ifconfig\r" |
53 | timeout {puts "TESTING ERROR 3.4\n";exit} | 54 | expect { |
54 | "eth0.6" | 55 | timeout {puts "TESTING ERROR 3.4\n";exit} |
55 | } | 56 | "eth0.6" |
56 | expect { | 57 | } |
57 | timeout {puts "TESTING ERROR 3.5n";exit} | 58 | expect { |
58 | "Link" | 59 | timeout {puts "TESTING ERROR 3.5n";exit} |
59 | } | 60 | "Link" |
60 | expect { | 61 | } |
61 | timeout {puts "TESTING ERROR 3.6\n";exit} | 62 | expect { |
62 | "10.10.206.10" | 63 | timeout {puts "TESTING ERROR 3.6\n";exit} |
64 | "10.10.206.10" | ||
65 | } | ||
66 | expect { | ||
67 | timeout {puts "TESTING ERROR 3.7\n";exit} | ||
68 | "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" | ||
69 | } | ||
70 | after 100 | ||
71 | send -- "exit\r" | ||
72 | sleep 1 | ||
63 | } | 73 | } |
64 | expect { | ||
65 | timeout {puts "TESTING ERROR 3.7\n";exit} | ||
66 | "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" | ||
67 | } | ||
68 | after 100 | ||
69 | send -- "exit\r" | ||
70 | sleep 1 | ||
71 | 74 | ||
72 | # | 75 | # |
73 | # C | 76 | # C |