diff options
author | 2019-08-17 11:07:08 -0400 | |
---|---|---|
committer | 2019-08-17 11:07:08 -0400 | |
commit | 92d129159c607cb6ac406eabee1df7cb16b83c9d (patch) | |
tree | 2fd9f39ede85424d06096d495ed5cfb2e7b95551 | |
parent | Prevent quiet option output leakage (#2913) (diff) | |
download | firejail-92d129159c607cb6ac406eabee1df7cb16b83c9d.tar.gz firejail-92d129159c607cb6ac406eabee1df7cb16b83c9d.tar.zst firejail-92d129159c607cb6ac406eabee1df7cb16b83c9d.zip |
private-dev testing
-rwxr-xr-x | test/fs/whitelist-dev.exp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fs/whitelist-dev.exp b/test/fs/whitelist-dev.exp index d2cb72edd..1df8c361c 100755 --- a/test/fs/whitelist-dev.exp +++ b/test/fs/whitelist-dev.exp | |||
@@ -14,10 +14,10 @@ expect { | |||
14 | } | 14 | } |
15 | sleep 1 | 15 | sleep 1 |
16 | 16 | ||
17 | send -- "find /dev | wc -l\r" | 17 | send -- "ls /dev | wc -l\r" |
18 | expect { | 18 | expect { |
19 | timeout {puts "TESTING ERROR 1\n";exit} | 19 | timeout {puts "TESTING ERROR 1\n";exit} |
20 | "2" | 20 | "1" |
21 | } | 21 | } |
22 | after 100 | 22 | after 100 |
23 | send -- "exit\r" | 23 | send -- "exit\r" |
@@ -33,7 +33,7 @@ sleep 1 | |||
33 | send -- "find /dev | wc -l\r" | 33 | send -- "find /dev | wc -l\r" |
34 | expect { | 34 | expect { |
35 | timeout {puts "TESTING ERROR 3\n";exit} | 35 | timeout {puts "TESTING ERROR 3\n";exit} |
36 | "4" | 36 | "1" |
37 | } | 37 | } |
38 | after 100 | 38 | after 100 |
39 | send -- "exit\r" | 39 | send -- "exit\r" |
@@ -46,7 +46,7 @@ expect { | |||
46 | } | 46 | } |
47 | sleep 1 | 47 | sleep 1 |
48 | 48 | ||
49 | send -- "ls -l /dev | wc -l\r" | 49 | send -- "ls /dev | wc -l\r" |
50 | expect { | 50 | expect { |
51 | timeout {puts "TESTING ERROR 5\n";exit} | 51 | timeout {puts "TESTING ERROR 5\n";exit} |
52 | "12" {puts "OK\n"} | 52 | "12" {puts "OK\n"} |