aboutsummaryrefslogtreecommitdiffstats
path: root/test/sysutils/file.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-08-08 06:09:43 -0400
committerLibravatar GitHub <noreply@github.com>2016-08-08 06:09:43 -0400
commit02a326047dceb0a01cc4103ef49c0124505d9d88 (patch)
tree1495b16f81c1494d1398a4a4ba07d0409470f9cd /test/sysutils/file.exp
parentMerge pull request #691 from manevich/smallfixes-02 (diff)
parentDon't assume ~/.bashrc exists (diff)
downloadfirejail-02a326047dceb0a01cc4103ef49c0124505d9d88.tar.gz
firejail-02a326047dceb0a01cc4103ef49c0124505d9d88.tar.zst
firejail-02a326047dceb0a01cc4103ef49c0124505d9d88.zip
Merge pull request #689 from reinerh/master
tar profile and test fixes
Diffstat (limited to 'test/sysutils/file.exp')
-rwxr-xr-xtest/sysutils/file.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/sysutils/file.exp b/test/sysutils/file.exp
index e40b83197..a8ad84d12 100755
--- a/test/sysutils/file.exp
+++ b/test/sysutils/file.exp
@@ -7,10 +7,12 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "firejail file ~/.bashrc\r" 10send -- "echo 'test string for firejail test' > /tmp/firejail_test.txt; firejail file /tmp/firejail_test.txt\r"
11expect { 11expect {
12 timeout {puts "TESTING ERROR 1\n";exit} 12 timeout {puts "TESTING ERROR 1\n";exit}
13 "ASCII text" 13 "ASCII text"
14} 14}
15send -- "rm /tmp/firejail_test.txt\r"
16sleep 1
15 17
16puts "\nall done\n" 18puts "\nall done\n"