From e83af0b1114499ccca03f6680a9e9b2c0e1e9493 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 26 Nov 2015 07:18:01 -0500 Subject: fixes --- test/invalid_filename.exp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'test/invalid_filename.exp') diff --git a/test/invalid_filename.exp b/test/invalid_filename.exp index 93beff8a1..e496e4aaf 100755 --- a/test/invalid_filename.exp +++ b/test/invalid_filename.exp @@ -23,7 +23,7 @@ set timeout 10 spawn $env(SHELL) match_max 100000 -send -- "firejail --debug --noprofile --blacklist=\"bla&&bla\"\r" +send -- "firejail --debug-check-filename --noprofile --blacklist=\"bla&&bla\"\r" expect { timeout {puts "TESTING ERROR 1.1\n";exit} "Checking filename bla&&bla" @@ -38,7 +38,7 @@ expect { } after 100 -send -- "firejail --debug --noprofile --cgroup=\"bla&&bla\"\r" +send -- "firejail --debug-check-filename --noprofile --cgroup=\"bla&&bla\"\r" expect { timeout {puts "TESTING ERROR 2.1\n";exit} "Checking filename bla&&bla" @@ -53,7 +53,7 @@ expect { } after 100 -send -- "firejail --debug --noprofile --chroot=\"bla&&bla\"\r" +send -- "firejail --debug-check-filename --noprofile --chroot=\"bla&&bla\"\r" expect { timeout {puts "TESTING ERROR 3.1\n";exit} "Checking filename bla&&bla" @@ -68,7 +68,7 @@ expect { } after 100 -send -- "firejail --debug --noprofile --netfilter=\"bla&&bla\"\r" +send -- "firejail --debug-check-filename --noprofile --netfilter=\"bla&&bla\"\r" expect { timeout {puts "TESTING ERROR 4.1\n";exit} "Checking filename bla&&bla" @@ -83,7 +83,7 @@ expect { } after 100 -send -- "firejail --debug --noprofile --output=\"bla&&bla\"\r" +send -- "firejail --debug-check-filename --noprofile --output=\"bla&&bla\"\r" expect { timeout {puts "TESTING ERROR 5.2\n";exit} "Error:" @@ -94,7 +94,7 @@ expect { } after 100 -send -- "firejail --debug --noprofile --private=\"bla&&bla\"\r" +send -- "firejail --debug-check-filename --noprofile --private=\"bla&&bla\"\r" expect { timeout {puts "TESTING ERROR 6.1\n";exit} "Checking filename bla&&bla" @@ -109,7 +109,7 @@ expect { } after 100 -send -- "firejail --debug --noprofile --private-bin=\"bla&&bla\"\r" +send -- "firejail --debug-check-filename --noprofile --private-bin=\"bla&&bla\"\r" expect { timeout {puts "TESTING ERROR 7.1\n";exit} "Checking filename bla&&bla" @@ -124,7 +124,7 @@ expect { } after 100 -send -- "firejail --debug --noprofile --private-home=\"bla&&bla\"\r" +send -- "firejail --debug-check-filename --noprofile --private-home=\"bla&&bla\"\r" expect { timeout {puts "TESTING ERROR 8.1\n";exit} "Checking filename bla&&bla" @@ -140,7 +140,7 @@ expect { after 100 -send -- "firejail --debug --noprofile --private-etc=\"bla&&bla\"\r" +send -- "firejail --debug-check-filename --noprofile --private-etc=\"bla&&bla\"\r" expect { timeout {puts "TESTING ERROR 9.1\n";exit} "Checking filename bla&&bla" @@ -155,7 +155,7 @@ expect { } after 100 -send -- "firejail --debug --profile=\"bla&&bla\"\r" +send -- "firejail --debug-check-filename --profile=\"bla&&bla\"\r" expect { timeout {puts "TESTING ERROR 10.1\n";exit} "Checking filename bla&&bla" @@ -170,7 +170,7 @@ expect { } after 100 -send -- "firejail --debug --read-only=\"bla&&bla\"\r" +send -- "firejail --debug-check-filename --read-only=\"bla&&bla\"\r" expect { timeout {puts "TESTING ERROR 11.1\n";exit} "Checking filename bla&&bla" @@ -185,7 +185,7 @@ expect { } after 100 -send -- "firejail --debug --shell=\"bla&&bla\"\r" +send -- "firejail --debug-check-filename --shell=\"bla&&bla\"\r" expect { timeout {puts "TESTING ERROR 12.1\n";exit} "Checking filename bla&&bla" @@ -200,7 +200,7 @@ expect { } after 100 -send -- "firejail --debug --tmpfs=\"bla&&bla\"\r" +send -- "firejail --debug-check-filename --tmpfs=\"bla&&bla\"\r" expect { timeout {puts "TESTING ERROR 13.1\n";exit} "Checking filename bla&&bla" @@ -215,7 +215,7 @@ expect { } after 100 -send -- "firejail --debug --whitelist=\"bla&&bla\"\r" +send -- "firejail --debug-check-filename --whitelist=\"bla&&bla\"\r" expect { timeout {puts "TESTING ERROR 14.1\n";exit} "Checking filename bla&&bla" -- cgit v1.2.3-70-g09d2