diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/appimage/appimage.sh | 1 | ||||
-rwxr-xr-x | test/apps-x11-xorg/apps-x11-xorg.sh | 1 | ||||
-rwxr-xr-x | test/apps-x11/apps-x11.sh | 1 | ||||
-rwxr-xr-x | test/apps/apps.sh | 1 | ||||
-rwxr-xr-x | test/arguments/arguments.sh | 1 | ||||
-rwxr-xr-x | test/chroot/chroot.sh | 1 | ||||
-rwxr-xr-x | test/environment/environment.sh | 1 | ||||
-rwxr-xr-x | test/fcopy/fcopy.sh | 1 | ||||
-rwxr-xr-x | test/features/test.sh | 1 | ||||
-rwxr-xr-x | test/filters/filters.sh | 1 | ||||
-rwxr-xr-x | test/fnetfilter/fnetfilter.sh | 1 | ||||
-rwxr-xr-x | test/fs/fs.sh | 6 | ||||
-rwxr-xr-x | test/network/network.sh | 1 | ||||
-rwxr-xr-x | test/overlay/overlay.sh | 1 | ||||
-rwxr-xr-x | test/private-lib/private-lib.sh | 2 | ||||
-rwxr-xr-x | test/profiles/profiles.sh | 1 | ||||
-rwxr-xr-x | test/root/root.sh | 1 | ||||
-rwxr-xr-x | test/ssh/ssh.sh | 1 | ||||
-rwxr-xr-x | test/stress/stress.sh | 1 | ||||
-rwxr-xr-x | test/sysutils/sysutils.sh | 1 | ||||
-rwxr-xr-x | test/utils/utils.sh | 1 |
21 files changed, 24 insertions, 3 deletions
diff --git a/test/appimage/appimage.sh b/test/appimage/appimage.sh index 39c288199..937ae9f31 100755 --- a/test/appimage/appimage.sh +++ b/test/appimage/appimage.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | echo "TESTING: AppImage v1 (test/appimage/appimage-v1.exp)" | 10 | echo "TESTING: AppImage v1 (test/appimage/appimage-v1.exp)" |
10 | ./appimage-v1.exp | 11 | ./appimage-v1.exp |
diff --git a/test/apps-x11-xorg/apps-x11-xorg.sh b/test/apps-x11-xorg/apps-x11-xorg.sh index fd532f7b0..40ae4017c 100755 --- a/test/apps-x11-xorg/apps-x11-xorg.sh +++ b/test/apps-x11-xorg/apps-x11-xorg.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | which firefox 2>/dev/null | 10 | which firefox 2>/dev/null |
10 | if [ "$?" -eq 0 ]; | 11 | if [ "$?" -eq 0 ]; |
diff --git a/test/apps-x11/apps-x11.sh b/test/apps-x11/apps-x11.sh index e195036ce..8badbc3be 100755 --- a/test/apps-x11/apps-x11.sh +++ b/test/apps-x11/apps-x11.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | echo "TESTING: no x11 (test/apps-x11/x11-none.exp)" | 10 | echo "TESTING: no x11 (test/apps-x11/x11-none.exp)" |
10 | ./x11-none.exp | 11 | ./x11-none.exp |
diff --git a/test/apps/apps.sh b/test/apps/apps.sh index c239ed8b8..c129846dd 100755 --- a/test/apps/apps.sh +++ b/test/apps/apps.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | LIST="firefox midori chromium opera transmission-qt qbittorrent uget-gtk filezilla gthumb thunderbird " | 10 | LIST="firefox midori chromium opera transmission-qt qbittorrent uget-gtk filezilla gthumb thunderbird " |
10 | LIST+="vlc fbreader deluge gnome-mplayer xchat wine kcalc ktorrent hexchat" | 11 | LIST+="vlc fbreader deluge gnome-mplayer xchat wine kcalc ktorrent hexchat" |
diff --git a/test/arguments/arguments.sh b/test/arguments/arguments.sh index d9f2d4697..fc1bc64e1 100755 --- a/test/arguments/arguments.sh +++ b/test/arguments/arguments.sh | |||
@@ -1,4 +1,5 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | export LC_ALL=C | ||
2 | 3 | ||
3 | if [ -f /etc/debian_version ]; then | 4 | if [ -f /etc/debian_version ]; then |
4 | libdir=$(dirname "$(dpkg -L firejail | grep faudit)") | 5 | libdir=$(dirname "$(dpkg -L firejail | grep faudit)") |
diff --git a/test/chroot/chroot.sh b/test/chroot/chroot.sh index ac7bc6a54..ecadb899a 100755 --- a/test/chroot/chroot.sh +++ b/test/chroot/chroot.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | rm -f unchroot | 10 | rm -f unchroot |
10 | gcc -o unchroot unchroot.c | 11 | gcc -o unchroot unchroot.c |
diff --git a/test/environment/environment.sh b/test/environment/environment.sh index 5b4aa32f4..735d3e59e 100755 --- a/test/environment/environment.sh +++ b/test/environment/environment.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | 10 | ||
10 | echo "TESTING: timeout (test/environment/timeout.exp)" | 11 | echo "TESTING: timeout (test/environment/timeout.exp)" |
diff --git a/test/fcopy/fcopy.sh b/test/fcopy/fcopy.sh index 728782d49..b87518e03 100755 --- a/test/fcopy/fcopy.sh +++ b/test/fcopy/fcopy.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | if [ -f /etc/debian_version ]; then | 10 | if [ -f /etc/debian_version ]; then |
10 | libdir=$(dirname "$(dpkg -L firejail | grep fcopy)") | 11 | libdir=$(dirname "$(dpkg -L firejail | grep fcopy)") |
diff --git a/test/features/test.sh b/test/features/test.sh index cf62d0a3d..cb3f6f871 100755 --- a/test/features/test.sh +++ b/test/features/test.sh | |||
@@ -1,4 +1,5 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | export LC_ALL=C | ||
2 | OVERLAY="overlay" | 3 | OVERLAY="overlay" |
3 | CHROOT="chroot" | 4 | CHROOT="chroot" |
4 | NETWORK="network" | 5 | NETWORK="network" |
diff --git a/test/filters/filters.sh b/test/filters/filters.sh index 10e50539b..6a8ce1f99 100755 --- a/test/filters/filters.sh +++ b/test/filters/filters.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | if [ -f /etc/debian_version ]; then | 10 | if [ -f /etc/debian_version ]; then |
10 | libdir=$(dirname "$(dpkg -L firejail | grep fseccomp)") | 11 | libdir=$(dirname "$(dpkg -L firejail | grep fseccomp)") |
diff --git a/test/fnetfilter/fnetfilter.sh b/test/fnetfilter/fnetfilter.sh index e3aa2f12b..a37931422 100755 --- a/test/fnetfilter/fnetfilter.sh +++ b/test/fnetfilter/fnetfilter.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | if [ -f /etc/debian_version ]; then | 10 | if [ -f /etc/debian_version ]; then |
10 | libdir=$(dirname "$(dpkg -L firejail | grep fcopy)") | 11 | libdir=$(dirname "$(dpkg -L firejail | grep fcopy)") |
diff --git a/test/fs/fs.sh b/test/fs/fs.sh index e706acd8d..c60d44904 100755 --- a/test/fs/fs.sh +++ b/test/fs/fs.sh | |||
@@ -70,6 +70,9 @@ echo "TESTING: empty private-etc (test/fs/private-etc-empty.exp)" | |||
70 | echo "TESTING: private-bin (test/fs/private-bin.exp)" | 70 | echo "TESTING: private-bin (test/fs/private-bin.exp)" |
71 | ./private-bin.exp | 71 | ./private-bin.exp |
72 | 72 | ||
73 | echo "TESTING: private-cache (test/fs/private-cache.exp)" | ||
74 | ./private-cache.exp | ||
75 | |||
73 | echo "TESTING: private-cwd (test/fs/private-cwd.exp)" | 76 | echo "TESTING: private-cwd (test/fs/private-cwd.exp)" |
74 | ./private-cwd.exp | 77 | ./private-cwd.exp |
75 | 78 | ||
@@ -121,9 +124,6 @@ echo "TESTING: fscheck --tmpfs non root (test/fs/fscheck-tmpfs.exp)" | |||
121 | echo "TESTING: fscheck --private= (test/fs/fscheck-private.exp)" | 124 | echo "TESTING: fscheck --private= (test/fs/fscheck-private.exp)" |
122 | ./fscheck-private.exp | 125 | ./fscheck-private.exp |
123 | 126 | ||
124 | echo "TESTING: fscheck --private-cache (test/fs/fscheck-private-cache.exp)" | ||
125 | ./fscheck-private-cache.exp | ||
126 | |||
127 | echo "TESTING: fscheck --read-only= (test/fs/fscheck-readonly.exp)" | 127 | echo "TESTING: fscheck --read-only= (test/fs/fscheck-readonly.exp)" |
128 | ./fscheck-readonly.exp | 128 | ./fscheck-readonly.exp |
129 | 129 | ||
diff --git a/test/network/network.sh b/test/network/network.sh index e1804ae3b..c8ff3f1e1 100755 --- a/test/network/network.sh +++ b/test/network/network.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | sudo ./configure | 10 | sudo ./configure |
10 | 11 | ||
diff --git a/test/overlay/overlay.sh b/test/overlay/overlay.sh index 5dfacea18..bedd66a87 100755 --- a/test/overlay/overlay.sh +++ b/test/overlay/overlay.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | echo "TESTING: overlay fs (test/overlay/fs.exp)" | 10 | echo "TESTING: overlay fs (test/overlay/fs.exp)" |
10 | rm -fr ~/_firejail_test_* | 11 | rm -fr ~/_firejail_test_* |
diff --git a/test/private-lib/private-lib.sh b/test/private-lib/private-lib.sh index 79913fed6..6a5588d5b 100755 --- a/test/private-lib/private-lib.sh +++ b/test/private-lib/private-lib.sh | |||
@@ -5,6 +5,8 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3g | 6 | export MALLOC_CHECK_=3g |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
9 | |||
8 | LIST="gnome-logs gnome-system-log gnome-nettool pavucontrol dig evince whois galculator gnome-calculator gedit leafpad mousepad pluma transmission-gtk xcalc atril gpicview eom eog" | 10 | LIST="gnome-logs gnome-system-log gnome-nettool pavucontrol dig evince whois galculator gnome-calculator gedit leafpad mousepad pluma transmission-gtk xcalc atril gpicview eom eog" |
9 | 11 | ||
10 | 12 | ||
diff --git a/test/profiles/profiles.sh b/test/profiles/profiles.sh index 85e5c1c13..52ee74234 100755 --- a/test/profiles/profiles.sh +++ b/test/profiles/profiles.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | echo "TESTING: profile conditional (test/profiles/conditional.exp)" | 10 | echo "TESTING: profile conditional (test/profiles/conditional.exp)" |
10 | ./conditional.exp | 11 | ./conditional.exp |
diff --git a/test/root/root.sh b/test/root/root.sh index a20142c5f..363865fad 100755 --- a/test/root/root.sh +++ b/test/root/root.sh | |||
@@ -3,6 +3,7 @@ | |||
3 | # set a new firejail config file | 3 | # set a new firejail config file |
4 | #cp firejail.config /etc/firejail/firejail.config | 4 | #cp firejail.config /etc/firejail/firejail.config |
5 | 5 | ||
6 | export LC_ALL=C | ||
6 | 7 | ||
7 | #******************************** | 8 | #******************************** |
8 | # firecfg | 9 | # firecfg |
diff --git a/test/ssh/ssh.sh b/test/ssh/ssh.sh index 56e815f6f..e7de1babd 100755 --- a/test/ssh/ssh.sh +++ b/test/ssh/ssh.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | echo "TESTING: ssh login (test/ssh/login.exp)" | 10 | echo "TESTING: ssh login (test/ssh/login.exp)" |
10 | ./login.exp | 11 | ./login.exp |
diff --git a/test/stress/stress.sh b/test/stress/stress.sh index 37b1a3bbc..6853c5a13 100755 --- a/test/stress/stress.sh +++ b/test/stress/stress.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | 10 | ||
10 | # blacklist testing | 11 | # blacklist testing |
diff --git a/test/sysutils/sysutils.sh b/test/sysutils/sysutils.sh index 0acf94d71..3f5ed33cb 100755 --- a/test/sysutils/sysutils.sh +++ b/test/sysutils/sysutils.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | which cpio 2>/dev/null | 10 | which cpio 2>/dev/null |
10 | if [ "$?" -eq 0 ]; | 11 | if [ "$?" -eq 0 ]; |
diff --git a/test/utils/utils.sh b/test/utils/utils.sh index fd24a5db0..7ebd5a1d5 100755 --- a/test/utils/utils.sh +++ b/test/utils/utils.sh | |||
@@ -5,6 +5,7 @@ | |||
5 | 5 | ||
6 | export MALLOC_CHECK_=3 | 6 | export MALLOC_CHECK_=3 |
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | ||
8 | 9 | ||
9 | if [ -f /etc/debian_version ]; then | 10 | if [ -f /etc/debian_version ]; then |
10 | libdir=$(dirname "$(dpkg -L firejail | grep faudit)") | 11 | libdir=$(dirname "$(dpkg -L firejail | grep faudit)") |