From 2905b9f9ab5c5ed6f9210d1d843a8bcf41451854 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sat, 23 Apr 2016 08:53:07 -0400 Subject: make test-utils --- test/ignore.exp | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100755 test/ignore.exp (limited to 'test/ignore.exp') diff --git a/test/ignore.exp b/test/ignore.exp deleted file mode 100755 index c5ea25684..000000000 --- a/test/ignore.exp +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/expect -f - -set timeout 10 -spawn $env(SHELL) -match_max 100000 - -send -- "firejail --profile=ignore.profile --ignore=seccomp \r" -expect { - timeout {puts "TESTING ERROR 0\n";exit} - "Error: please use --profile after --ignore" -} - -send -- "firejail --debug --ignore=seccomp\r" -expect { - timeout {puts "TESTING ERROR 1\n";exit} - BLACKLIST {puts "TESTING ERROR 2\n";exit} - "Child process initialized" -} -sleep 1 -send -- "exit\r" -sleep 1 - -send -- "firejail --ignore=seccomp --ignore=shell --profile=ignore.profile \r" -expect { - timeout {puts "TESTING ERROR 3\n";exit} - "Child process initialized" -} -sleep 1 - -send -- "ps aux | wc -l\r" -expect { - timeout {puts "TESTING ERROR 4\n";exit} - "5" -} -sleep 1 -send -- "exit\r" -sleep 1 - -send -- "firejail --debug --profile=ignore2.profile\r" -expect { - timeout {puts "TESTING ERROR 5\n";exit} - BLACKLIST {puts "TESTING ERROR 6\n";exit} - "Child process initialized" -} - - -puts "\nall done\n" -- cgit v1.2.3-70-g09d2