From f475f7f3a907c2966ab95d699382567b30f37266 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Fri, 16 Oct 2015 13:57:43 -0400 Subject: arch testing --- test/firemon-route.exp | 1 + test/net_local.exp | 4 ---- test/option-trace.exp | 3 ++- test/private-bin.exp | 8 ++++---- 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 { "0.0.0.0/0 via 192.168.1.1, dev eth0, metric 0" {puts "Debian testing\n";} "0.0.0.0/0 via 192.168.1.1, dev enp0s3, metric 1024" {puts "Centos 7 testing\n";} "0.0.0.0/0 via 192.168.1.1, dev enp0s3, metric 0" {puts "OpenSUSE testing\n";} + "0.0.0.0/0 via 192.168.1.1, dev enp0s3, metric 100" {puts "Arch testing\n";} } expect { 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 { timeout {puts "TESTING ERROR 7\n";exit} "255.0.0.0" } -expect { - timeout {puts "TESTING ERROR 8\n";exit} - "UP" -} puts "all done\n" 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 { } expect { timeout {puts "TESTING ERROR 3\n";exit} - "1:bash:access /etc/terminfo/x/xterm" + "1:bash:access /etc/terminfo/x/xterm" {puts "debian\n"} + "1:bash:access /usr/share/terminfo/x/xterm" {puts "arch\n"} } 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 { } sleep 1 -send -- "ls -al /bin\r" +send -- "ls /bin\r" expect { timeout {puts "TESTING ERROR 2\n";exit} "bash" @@ -25,7 +25,7 @@ expect { "sh" } -send -- "ls -al /bin\r" +send -- "ls /bin\r" expect { timeout {puts "TESTING ERROR 5\n";exit} "ping" {puts "TESTING ERROR 6\n";exit} @@ -41,7 +41,7 @@ expect { } sleep 1 -send -- "ls -al /bin\r" +send -- "ls /bin\r" expect { timeout {puts "TESTING ERROR 8\n";exit} "bash" @@ -55,7 +55,7 @@ expect { "sh" } -send -- "ls -al /bin\r" +send -- "ls /bin\r" expect { timeout {puts "TESTING ERROR 5\n";exit} "ping" {puts "TESTING ERROR 6\n";exit} diff --git a/todo b/todo index cfb8f191a..588eac18c 100644 --- a/todo +++ b/todo @@ -63,3 +63,11 @@ RSS: Liferea, akregator (KDE), newsbeuter (CLI), rawdog, SCMP_A0(SCMP_CMP_EQ, AF_SECURITY))); CHECK_SECCOMP(seccomp_rule_add(ctx, SCMP_ACT_ERRNO(EAFNOSUPPORT), SCMP_SYS(socket), 1, SCMP_A0(SCMP_CMP_EQ, AF_KEY))); + +7. Tests not working on Arch: +profile_syntax.exp (profile syntax) +fs_chroot.exp (chroot as user) +private-etc.exp + + + -- cgit v1.2.3-70-g09d2