aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs
diff options
context:
space:
mode:
authorLibravatar a1346054 <36859588+a1346054@users.noreply.github.com>2022-09-13 20:01:07 +0000
committerLibravatar a1346054 <36859588+a1346054@users.noreply.github.com>2022-09-13 22:37:20 +0000
commit270f0d95e3f27445057981b26a2aa6474769f3f2 (patch)
treea0dd67c7c9205d6987a706ffaa0141df91948ca7 /test/fs
parenttests: add missing final newline (diff)
downloadfirejail-270f0d95e3f27445057981b26a2aa6474769f3f2.tar.gz
firejail-270f0d95e3f27445057981b26a2aa6474769f3f2.tar.zst
firejail-270f0d95e3f27445057981b26a2aa6474769f3f2.zip
tests: stop mixing tabs and spaces
Diffstat (limited to 'test/fs')
-rwxr-xr-xtest/fs/fs.sh22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/fs/fs.sh b/test/fs/fs.sh
index 36ff30934..07d33bee6 100755
--- a/test/fs/fs.sh
+++ b/test/fs/fs.sh
@@ -46,14 +46,14 @@ echo "TESTING: read/write /var/tmp (test/fs/fs_var_tmp.exp)"
46rm -f /var/tmp/_firejail_test_file 46rm -f /var/tmp/_firejail_test_file
47 47
48if [ "$(uname -m)" = "x86_64" ]; then 48if [ "$(uname -m)" = "x86_64" ]; then
49 fjconfig=/etc/firejail/firejail.config 49 fjconfig=/etc/firejail/firejail.config
50 printf 'private-lib yes\n' | sudo tee -a "$fjconfig" >/dev/null 50 printf 'private-lib yes\n' | sudo tee -a "$fjconfig" >/dev/null
51 echo "TESTING: private-lib (test/fs/private-lib.exp)" 51 echo "TESTING: private-lib (test/fs/private-lib.exp)"
52 ./private-lib.exp 52 ./private-lib.exp
53 printf '%s\n' "$(sed '/^private-lib yes$/d' "$fjconfig")" | 53 printf '%s\n' "$(sed '/^private-lib yes$/d' "$fjconfig")" |
54 sudo tee "$fjconfig" >/dev/null 54 sudo tee "$fjconfig" >/dev/null
55else 55else
56 echo "TESTING SKIP: private-lib test implemented only for x86_64." 56 echo "TESTING SKIP: private-lib test implemented only for x86_64."
57fi 57fi
58 58
59echo "TESTING: read/write /var/lock (test/fs/fs_var_lock.exp)" 59echo "TESTING: read/write /var/lock (test/fs/fs_var_lock.exp)"
@@ -61,11 +61,11 @@ echo "TESTING: read/write /var/lock (test/fs/fs_var_lock.exp)"
61rm -f /var/lock/_firejail_test_file 61rm -f /var/lock/_firejail_test_file
62 62
63if [ -w /dev/shm ]; then 63if [ -w /dev/shm ]; then
64 echo "TESTING: read/write /dev/shm (test/fs/fs_dev_shm.exp)" 64 echo "TESTING: read/write /dev/shm (test/fs/fs_dev_shm.exp)"
65 ./fs_dev_shm.exp 65 ./fs_dev_shm.exp
66 rm -f /dev/shm/_firejail_test_file 66 rm -f /dev/shm/_firejail_test_file
67else 67else
68 echo "TESTING SKIP: /dev/shm not writable" 68 echo "TESTING SKIP: /dev/shm not writable"
69fi 69fi
70 70
71echo "TESTING: private (test/fs/private.exp)" 71echo "TESTING: private (test/fs/private.exp)"