From fc116c063938d5e141d5fbc38e8013d9832ef315 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 15 Sep 2016 09:59:11 -0400 Subject: testing --- test/profile_tmpfs.exp | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100755 test/profile_tmpfs.exp (limited to 'test/profile_tmpfs.exp') diff --git a/test/profile_tmpfs.exp b/test/profile_tmpfs.exp deleted file mode 100755 index a2faa32f7..000000000 --- a/test/profile_tmpfs.exp +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/expect -f - -set timeout 10 -spawn $env(SHELL) -match_max 100000 - -send -- "mkdir /tmp/firejailtestdir\r" -sleep 1 -send -- "ls > /tmp/firejailtestdir/tmpfile\r" -sleep 1 - -send -- "firejail --profile=tmpfs.profile\r" -expect { - timeout {puts "TESTING ERROR 0\n";exit} - "Child process initialized" -} - -# testing private only -send -- "bash\r" -sleep 1 - -send -- "ls -l /tmp/firejailtestdir;pwd\r" -expect { - timeout {puts "TESTING ERROR 1.1\n";exit} - "tmpfile" {puts "TESTING ERROR 1\n";exit} - "home" -} -sleep 1 -send -- "exit\r" -sleep 1 -send -- "exit\r" -sleep 1 -send -- "rm -fr /tmp/firejailtestdir\r" - -sleep 1 - -puts "\n" -- cgit v1.2.3-70-g09d2