From 2e11e0dbd2850053a37453e87e2e8d8617634b3d Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 4 Apr 2018 14:09:09 -0400 Subject: testing --- test/fs/whitelist-downloads.exp | 48 ----------------------------------------- 1 file changed, 48 deletions(-) delete mode 100755 test/fs/whitelist-downloads.exp (limited to 'test/fs/whitelist-downloads.exp') diff --git a/test/fs/whitelist-downloads.exp b/test/fs/whitelist-downloads.exp deleted file mode 100755 index b82ca8eea..000000000 --- a/test/fs/whitelist-downloads.exp +++ /dev/null @@ -1,48 +0,0 @@ -#!/usr/bin/expect -f -# This file is part of Firejail project -# Copyright (C) 2014-2018 Firejail Authors -# License GPL v2 - -set timeout 10 -spawn $env(SHELL) -match_max 100000 - -send -- "cp user-dirs.dirs /tmp/.\r" -after 100 - -send -- "firejail --private --noprofile\r" -expect { - timeout {puts "TESTING ERROR 0\n";exit} - "Child process initialized" -} -after 100 - -send -- "firejail --force --ignore=shell --profile=/etc/firejail/firefox.profile\r" -expect { - timeout {puts "TESTING ERROR 1\n";exit} - "cannot whitelist Downloads directory" -} -expect { - timeout {puts "TESTING ERROR 2\n";exit} - "Child process initialized" -} -after 100 - -send -- "exit\r" -after 100 - -send -- "cp /tmp/user-dirs.dirs ~/.config/.\r" -after 100 - -send -- "firejail --force --ignore=shell --profile=/etc/firejail/firefox.profile\r" -expect { - timeout {puts "TESTING ERROR 3\n";exit} - "cannot whitelist Downloads directory" -} -expect { - timeout {puts "TESTING ERROR 4\n";exit} - "Child process initialized" -} -after 100 - -puts "\nall done\n" -- cgit v1.2.3-54-g00ecf