aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-08-31 10:40:16 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-08-31 10:40:16 -0400
commitddcd56b11c47278fe887e5b4fb5bd86715881114 (patch)
tree545cfd2339ab7fc0b48b2027c0530df808b43128 /test/fs
parentfix join caps (diff)
downloadfirejail-ddcd56b11c47278fe887e5b4fb5bd86715881114.tar.gz
firejail-ddcd56b11c47278fe887e5b4fb5bd86715881114.tar.zst
firejail-ddcd56b11c47278fe887e5b4fb5bd86715881114.zip
Arch fixes
Diffstat (limited to 'test/fs')
-rwxr-xr-xtest/fs/private-etc-empty.exp9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/fs/private-etc-empty.exp b/test/fs/private-etc-empty.exp
index 2ab634afd..5ddce8678 100755
--- a/test/fs/private-etc-empty.exp
+++ b/test/fs/private-etc-empty.exp
@@ -3,7 +3,7 @@
3# Copyright (C) 2014-2016 Firejail Authors 3# Copyright (C) 2014-2016 Firejail Authors
4# License GPL v2 4# License GPL v2
5 5
6set timeout 30 6set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
@@ -17,7 +17,8 @@ sleep 1
17send -- "ls -l /etc | wc -l\r" 17send -- "ls -l /etc | wc -l\r"
18expect { 18expect {
19 timeout {puts "TESTING ERROR 1\n";exit} 19 timeout {puts "TESTING ERROR 1\n";exit}
20 "0" 20 "0" {puts "Debian\n"}
21 "1" {puts "Arch\n"}
21} 22}
22send -- "exit\r" 23send -- "exit\r"
23sleep 1 24sleep 1
@@ -32,7 +33,9 @@ sleep 1
32send -- "ls -l /etc | wc -l\r" 33send -- "ls -l /etc | wc -l\r"
33expect { 34expect {
34 timeout {puts "TESTING ERROR 1\n";exit} 35 timeout {puts "TESTING ERROR 1\n";exit}
35 "0" 36 "0" {puts "Debian\n"}
37 "1" {puts "Arch\n"}
38
36} 39}
37 40
38after 100 41after 100