From a59430b9bff5fc4e10e2ede419c20568a15f9958 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 4 Apr 2018 14:47:01 -0400 Subject: testing --- test/root/apache2.exp | 6 +++--- test/root/nginx.exp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'test/root') diff --git a/test/root/apache2.exp b/test/root/apache2.exp index 0b102bad5..88678d666 100755 --- a/test/root/apache2.exp +++ b/test/root/apache2.exp @@ -16,18 +16,18 @@ spawn $env(SHELL) send -- "firejail --tree\r" expect { timeout {puts "TESTING ERROR 1\n";exit} - "root:/usr/sbin/apache2" + "root:apache:firejail --name=apache /etc/init.d/apache2" } expect { timeout {puts "TESTING ERROR 2\n";exit} - "www-data:/usr/sbin/apache2" + "www-data::/usr/sbin/apache2" } sleep 2 send -- "rm index.html\r" sleep 1 -send -- "wget 0\r" +send -- "wget 127.0.0.1\r" expect { timeout {puts "TESTING ERROR 3\n";exit} "saved" diff --git a/test/root/nginx.exp b/test/root/nginx.exp index 82ebe0ee7..b98b50af6 100755 --- a/test/root/nginx.exp +++ b/test/root/nginx.exp @@ -16,18 +16,18 @@ spawn $env(SHELL) send -- "firejail --tree\r" expect { timeout {puts "TESTING ERROR 1\n";exit} - "root:nginx" + "root::nginx: master process /usr/sbin/nginx" } expect { timeout {puts "TESTING ERROR 2\n";exit} - "www-data:nginx" + "www-data::nginx: worker process" } sleep 2 send -- "rm index.html\r" sleep 1 -send -- "wget 0\r" +send -- "wget 127.0.0.1\r" expect { timeout {puts "TESTING ERROR 3\n";exit} "saved" -- cgit v1.2.3-54-g00ecf