diff options
author | netblue30 <netblue30@yahoo.com> | 2016-08-31 10:40:16 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-08-31 10:40:16 -0400 |
commit | ddcd56b11c47278fe887e5b4fb5bd86715881114 (patch) | |
tree | 545cfd2339ab7fc0b48b2027c0530df808b43128 /test/fs/private-etc-empty.exp | |
parent | fix join caps (diff) | |
download | firejail-ddcd56b11c47278fe887e5b4fb5bd86715881114.tar.gz firejail-ddcd56b11c47278fe887e5b4fb5bd86715881114.tar.zst firejail-ddcd56b11c47278fe887e5b4fb5bd86715881114.zip |
Arch fixes
Diffstat (limited to 'test/fs/private-etc-empty.exp')
-rwxr-xr-x | test/fs/private-etc-empty.exp | 9 |
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 | ||
6 | set timeout 30 | 6 | set timeout 10 |
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
@@ -17,7 +17,8 @@ sleep 1 | |||
17 | send -- "ls -l /etc | wc -l\r" | 17 | send -- "ls -l /etc | wc -l\r" |
18 | expect { | 18 | expect { |
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 | } |
22 | send -- "exit\r" | 23 | send -- "exit\r" |
23 | sleep 1 | 24 | sleep 1 |
@@ -32,7 +33,9 @@ sleep 1 | |||
32 | send -- "ls -l /etc | wc -l\r" | 33 | send -- "ls -l /etc | wc -l\r" |
33 | expect { | 34 | expect { |
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 | ||
38 | after 100 | 41 | after 100 |