diff options
-rwxr-xr-x | test/firemon-route.exp | 1 | ||||
-rwxr-xr-x | test/net_local.exp | 4 | ||||
-rwxr-xr-x | test/option-trace.exp | 3 | ||||
-rwxr-xr-x | test/private-bin.exp | 8 | ||||
-rw-r--r-- | todo | 8 |
5 files changed, 15 insertions, 9 deletions
diff --git a/test/firemon-route.exp b/test/firemon-route.exp index 76ebd70f6..a48116675 100755 --- a/test/firemon-route.exp +++ b/test/firemon-route.exp | |||
@@ -18,6 +18,7 @@ expect { | |||
18 | "0.0.0.0/0 via 192.168.1.1, dev eth0, metric 0" {puts "Debian testing\n";} | 18 | "0.0.0.0/0 via 192.168.1.1, dev eth0, metric 0" {puts "Debian testing\n";} |
19 | "0.0.0.0/0 via 192.168.1.1, dev enp0s3, metric 1024" {puts "Centos 7 testing\n";} | 19 | "0.0.0.0/0 via 192.168.1.1, dev enp0s3, metric 1024" {puts "Centos 7 testing\n";} |
20 | "0.0.0.0/0 via 192.168.1.1, dev enp0s3, metric 0" {puts "OpenSUSE testing\n";} | 20 | "0.0.0.0/0 via 192.168.1.1, dev enp0s3, metric 0" {puts "OpenSUSE testing\n";} |
21 | "0.0.0.0/0 via 192.168.1.1, dev enp0s3, metric 100" {puts "Arch testing\n";} | ||
21 | } | 22 | } |
22 | expect { | 23 | expect { |
23 | timeout {puts "TESTING ERROR 2\n";exit} | 24 | timeout {puts "TESTING ERROR 2\n";exit} |
diff --git a/test/net_local.exp b/test/net_local.exp index 032c0427d..642213658 100755 --- a/test/net_local.exp +++ b/test/net_local.exp | |||
@@ -40,10 +40,6 @@ expect { | |||
40 | timeout {puts "TESTING ERROR 7\n";exit} | 40 | timeout {puts "TESTING ERROR 7\n";exit} |
41 | "255.0.0.0" | 41 | "255.0.0.0" |
42 | } | 42 | } |
43 | expect { | ||
44 | timeout {puts "TESTING ERROR 8\n";exit} | ||
45 | "UP" | ||
46 | } | ||
47 | 43 | ||
48 | puts "all done\n" | 44 | puts "all done\n" |
49 | 45 | ||
diff --git a/test/option-trace.exp b/test/option-trace.exp index 6efb2c545..b20ef9ef9 100755 --- a/test/option-trace.exp +++ b/test/option-trace.exp | |||
@@ -20,7 +20,8 @@ expect { | |||
20 | } | 20 | } |
21 | expect { | 21 | expect { |
22 | timeout {puts "TESTING ERROR 3\n";exit} | 22 | timeout {puts "TESTING ERROR 3\n";exit} |
23 | "1:bash:access /etc/terminfo/x/xterm" | 23 | "1:bash:access /etc/terminfo/x/xterm" {puts "debian\n"} |
24 | "1:bash:access /usr/share/terminfo/x/xterm" {puts "arch\n"} | ||
24 | } | 25 | } |
25 | 26 | ||
26 | sleep 1 | 27 | sleep 1 |
diff --git a/test/private-bin.exp b/test/private-bin.exp index cc5ea99c7..a82d2b213 100755 --- a/test/private-bin.exp +++ b/test/private-bin.exp | |||
@@ -11,7 +11,7 @@ expect { | |||
11 | } | 11 | } |
12 | sleep 1 | 12 | sleep 1 |
13 | 13 | ||
14 | send -- "ls -al /bin\r" | 14 | send -- "ls /bin\r" |
15 | expect { | 15 | expect { |
16 | timeout {puts "TESTING ERROR 2\n";exit} | 16 | timeout {puts "TESTING ERROR 2\n";exit} |
17 | "bash" | 17 | "bash" |
@@ -25,7 +25,7 @@ expect { | |||
25 | "sh" | 25 | "sh" |
26 | } | 26 | } |
27 | 27 | ||
28 | send -- "ls -al /bin\r" | 28 | send -- "ls /bin\r" |
29 | expect { | 29 | expect { |
30 | timeout {puts "TESTING ERROR 5\n";exit} | 30 | timeout {puts "TESTING ERROR 5\n";exit} |
31 | "ping" {puts "TESTING ERROR 6\n";exit} | 31 | "ping" {puts "TESTING ERROR 6\n";exit} |
@@ -41,7 +41,7 @@ expect { | |||
41 | } | 41 | } |
42 | sleep 1 | 42 | sleep 1 |
43 | 43 | ||
44 | send -- "ls -al /bin\r" | 44 | send -- "ls /bin\r" |
45 | expect { | 45 | expect { |
46 | timeout {puts "TESTING ERROR 8\n";exit} | 46 | timeout {puts "TESTING ERROR 8\n";exit} |
47 | "bash" | 47 | "bash" |
@@ -55,7 +55,7 @@ expect { | |||
55 | "sh" | 55 | "sh" |
56 | } | 56 | } |
57 | 57 | ||
58 | send -- "ls -al /bin\r" | 58 | send -- "ls /bin\r" |
59 | expect { | 59 | expect { |
60 | timeout {puts "TESTING ERROR 5\n";exit} | 60 | timeout {puts "TESTING ERROR 5\n";exit} |
61 | "ping" {puts "TESTING ERROR 6\n";exit} | 61 | "ping" {puts "TESTING ERROR 6\n";exit} |
@@ -63,3 +63,11 @@ RSS: Liferea, akregator (KDE), newsbeuter (CLI), rawdog, | |||
63 | SCMP_A0(SCMP_CMP_EQ, AF_SECURITY))); | 63 | SCMP_A0(SCMP_CMP_EQ, AF_SECURITY))); |
64 | CHECK_SECCOMP(seccomp_rule_add(ctx, SCMP_ACT_ERRNO(EAFNOSUPPORT), SCMP_SYS(socket), 1, | 64 | CHECK_SECCOMP(seccomp_rule_add(ctx, SCMP_ACT_ERRNO(EAFNOSUPPORT), SCMP_SYS(socket), 1, |
65 | SCMP_A0(SCMP_CMP_EQ, AF_KEY))); | 65 | SCMP_A0(SCMP_CMP_EQ, AF_KEY))); |
66 | |||
67 | 7. Tests not working on Arch: | ||
68 | profile_syntax.exp (profile syntax) | ||
69 | fs_chroot.exp (chroot as user) | ||
70 | private-etc.exp | ||
71 | |||
72 | |||
73 | |||