aboutsummaryrefslogtreecommitdiffstats
path: root/test/root/checkcfg.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/root/checkcfg.exp')
-rwxr-xr-xtest/root/checkcfg.exp14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/root/checkcfg.exp b/test/root/checkcfg.exp
index 205ef1e0c..e17e9cda2 100755
--- a/test/root/checkcfg.exp
+++ b/test/root/checkcfg.exp
@@ -88,6 +88,7 @@ expect {
88 timeout {puts "TESTING ERROR 9\n";exit} 88 timeout {puts "TESTING ERROR 9\n";exit}
89 "noroot feature is disabled in Firejail configuration file\r" 89 "noroot feature is disabled in Firejail configuration file\r"
90} 90}
91sleep 1
91 92
92# netfilter-default 93# netfilter-default
93send -- "echo \"netfilter-default blablabla\" > /etc/firejail/firejail.config\r" 94send -- "echo \"netfilter-default blablabla\" > /etc/firejail/firejail.config\r"
@@ -97,6 +98,7 @@ expect {
97 timeout {puts "TESTING ERROR 10\n";exit} 98 timeout {puts "TESTING ERROR 10\n";exit}
98 "netfilter-default file blablabla not available\r" 99 "netfilter-default file blablabla not available\r"
99} 100}
101after 100
100 102
101# strings 103# strings
102send -- "echo \"xephyr-screen 800x600\" > /etc/firejail/firejail.config\r" 104send -- "echo \"xephyr-screen 800x600\" > /etc/firejail/firejail.config\r"
@@ -104,17 +106,15 @@ after 100
104send -- "echo \"xvfb-screen 800x600x24\" >> /etc/firejail/firejail.config\r" 106send -- "echo \"xvfb-screen 800x600x24\" >> /etc/firejail/firejail.config\r"
105after 100 107after 100
106send -- "echo \"xvfb-extra-params blablabla\" >> /etc/firejail/firejail.config\r" 108send -- "echo \"xvfb-extra-params blablabla\" >> /etc/firejail/firejail.config\r"
107after 100 109sleep 1
108send -- "firejail --noprofile\r" 110send -- "firejail --noprofile echo done\r"
109expect { 111expect {
110 timeout {puts "TESTING ERROR 11\n";exit} 112 timeout {puts "TESTING ERROR 11\n";exit}
111 "Child process initialized\r" 113 "done\r"
112} 114}
113after 100 115sleep 1
114send -- "exit\r"
115after 100
116 116
117# error exit 117after 100
118send -- "echo \"join no\" > /etc/firejail/firejail.config\r" 118send -- "echo \"join no\" > /etc/firejail/firejail.config\r"
119after 100 119after 100
120send -- "echo \"cache-tmpfs no\" >> /etc/firejail/firejail.config\r" 120send -- "echo \"cache-tmpfs no\" >> /etc/firejail/firejail.config\r"