Temporarily disable broken tests (fixed upstream already)
Reiner Herrmann
5 years ago
0 | Author: Reiner Herrmann <reiner@reiner-h.de> | |
1 | Description: skip some tests that are currently not working | |
2 | - /dev/shm test: applied upstream in 94f9fb8 | |
3 | - nice test: fixed upstream in c3edb75 | |
4 | - --build test: fixed upstream in b0f4911 | |
5 | ||
6 | --- a/test/fs/fs.sh | |
7 | +++ b/test/fs/fs.sh | |
8 | @@ -34,8 +34,12 @@ | |
9 | echo "TESTING: read/write /var/lock (test/fs/fs_var_lock.exp)" | |
10 | ./fs_var_lock.exp | |
11 | ||
12 | -echo "TESTING: read/write /dev/shm (test/fs/fs_dev_shm.exp)" | |
13 | -./fs_dev_shm.exp | |
14 | +if [ -w /dev/shm ]; then | |
15 | + echo "TESTING: read/write /dev/shm (test/fs/fs_dev_shm.exp)" | |
16 | + ./fs_dev_shm.exp | |
17 | +else | |
18 | + echo "TESTING SKIP: /dev/shm not writable" | |
19 | +fi | |
20 | ||
21 | echo "TESTING: private (test/fs/private.exp)" | |
22 | ./private.exp | |
23 | --- a/test/environment/environment.sh | |
24 | +++ b/test/environment/environment.sh | |
25 | @@ -77,8 +77,7 @@ | |
26 | echo "TESTING SKIP: aplay not found" | |
27 | fi | |
28 | ||
29 | -echo "TESTING: nice (test/environment/nice.exp)" | |
30 | -./nice.exp | |
31 | +echo "TESTING SKIP: nice (test/environment/nice.exp)" | |
32 | ||
33 | echo "TESTING: quiet (test/environment/quiet.exp)" | |
34 | ./quiet.exp | |
35 | --- a/test/utils/utils.sh | |
36 | +++ b/test/utils/utils.sh | |
37 | @@ -12,15 +12,6 @@ | |
38 | fi | |
39 | export PATH="$PATH:/usr/lib/firejail:/usr/lib64/firejail" | |
40 | ||
41 | -echo "testing" > ~/firejail-test-file-7699 | |
42 | -echo "testing" > /tmp/firejail-test-file-7699 | |
43 | -echo "testing" > /var/tmp/firejail-test-file-7699 | |
44 | -echo "TESTING: build (test/utils/build.exp)" | |
45 | -./build.exp | |
46 | -rm -f ~/firejail-test-file-7699 | |
47 | -rm -f /tmp/firejail-test-file-7699 | |
48 | -rm -f /var/tmp/firejail-test-file-7699 | |
49 | - | |
50 | echo "TESTING: audit (test/utils/audit.exp)" | |
51 | ./audit.exp | |
52 |