diff options
author | netblue30 <netblue30@yahoo.com> | 2016-02-20 09:26:59 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-02-20 09:26:59 -0500 |
commit | 9f1ffe0e6fcd23efd6184cf393a1ba0075622cfd (patch) | |
tree | 1161e84276256515eb0531740270da240e711b8f /test | |
parent | testing (diff) | |
download | firejail-9f1ffe0e6fcd23efd6184cf393a1ba0075622cfd.tar.gz firejail-9f1ffe0e6fcd23efd6184cf393a1ba0075622cfd.tar.zst firejail-9f1ffe0e6fcd23efd6184cf393a1ba0075622cfd.zip |
testing
Diffstat (limited to 'test')
-rwxr-xr-x | test/features/test.sh | 4 | ||||
-rwxr-xr-x | test/private-whitelist.exp | 4 | ||||
-rwxr-xr-x | test/test.sh | 1 |
3 files changed, 5 insertions, 4 deletions
diff --git a/test/features/test.sh b/test/features/test.sh index 11306b52d..3570dae5a 100755 --- a/test/features/test.sh +++ b/test/features/test.sh | |||
@@ -83,7 +83,7 @@ fi | |||
83 | #################### | 83 | #################### |
84 | # filesystem features | 84 | # filesystem features |
85 | #################### | 85 | #################### |
86 | echo "TESTING: 3.1 private" | 86 | echo "TESTING: 3.1 private (fails on OpenSUSE)" |
87 | ./3.1.exp $OVERLAY $CHROOT | 87 | ./3.1.exp $OVERLAY $CHROOT |
88 | 88 | ||
89 | echo "TESTING: 3.2 read-only" | 89 | echo "TESTING: 3.2 read-only" |
@@ -92,7 +92,7 @@ echo "TESTING: 3.2 read-only" | |||
92 | echo "TESTING: 3.3 blacklist" | 92 | echo "TESTING: 3.3 blacklist" |
93 | ./3.3.exp $OVERLAY $CHROOT | 93 | ./3.3.exp $OVERLAY $CHROOT |
94 | 94 | ||
95 | echo "TESTING: 3.4 whitelist home" | 95 | echo "TESTING: 3.4 whitelist home (fails on OpenSUSE)" |
96 | ./3.4.exp $OVERLAY $CHROOT | 96 | ./3.4.exp $OVERLAY $CHROOT |
97 | 97 | ||
98 | echo "TESTING: 3.5 private-dev" | 98 | echo "TESTING: 3.5 private-dev" |
diff --git a/test/private-whitelist.exp b/test/private-whitelist.exp index b78eb3b61..f06415c52 100755 --- a/test/private-whitelist.exp +++ b/test/private-whitelist.exp | |||
@@ -18,14 +18,14 @@ expect { | |||
18 | } | 18 | } |
19 | sleep 1 | 19 | sleep 1 |
20 | 20 | ||
21 | send -- "ls -a /tmp | wc\r" | 21 | send -- "ls -a /tmp | wc -l\r" |
22 | expect { | 22 | expect { |
23 | timeout {puts "TESTING ERROR 3\n";exit} | 23 | timeout {puts "TESTING ERROR 3\n";exit} |
24 | "3" | 24 | "3" |
25 | } | 25 | } |
26 | sleep 1 | 26 | sleep 1 |
27 | 27 | ||
28 | send -- "ls -a ~ | wc\r" | 28 | send -- "ls -a ~ | wc -l\r" |
29 | expect { | 29 | expect { |
30 | timeout {puts "TESTING ERROR 4\n";exit} | 30 | timeout {puts "TESTING ERROR 4\n";exit} |
31 | "4" | 31 | "4" |
diff --git a/test/test.sh b/test/test.sh index 48f74a0ed..4c94e82d0 100755 --- a/test/test.sh +++ b/test/test.sh | |||
@@ -31,6 +31,7 @@ echo "TESTING: private-bin (private-bin.exp)" | |||
31 | ./private-bin.exp | 31 | ./private-bin.exp |
32 | 32 | ||
33 | echo "TESTING: private whitelist (private-whitelist.exp)" | 33 | echo "TESTING: private whitelist (private-whitelist.exp)" |
34 | echo "TESTING: failing on OpenSUSE" | ||
34 | ./private-whitelist.exp | 35 | ./private-whitelist.exp |
35 | 36 | ||
36 | sleep 1 | 37 | sleep 1 |