diff options
author | netblue30 <netblue30@protonmail.com> | 2023-02-06 22:28:25 -0500 |
---|---|---|
committer | netblue30 <netblue30@protonmail.com> | 2023-02-06 22:28:25 -0500 |
commit | cb1104edf9c6ed0dc753724259b5c12fa5619afb (patch) | |
tree | d654d6547a7836faf5467cb37dac9f3ab50f7107 /test/private-etc/private-etc.sh | |
parent | testing (diff) | |
download | firejail-cb1104edf9c6ed0dc753724259b5c12fa5619afb.tar.gz firejail-cb1104edf9c6ed0dc753724259b5c12fa5619afb.tar.zst firejail-cb1104edf9c6ed0dc753724259b5c12fa5619afb.zip |
private-etc testing
Diffstat (limited to 'test/private-etc/private-etc.sh')
-rwxr-xr-x | test/private-etc/private-etc.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/private-etc/private-etc.sh b/test/private-etc/private-etc.sh new file mode 100755 index 000000000..67076af95 --- /dev/null +++ b/test/private-etc/private-etc.sh | |||
@@ -0,0 +1,21 @@ | |||
1 | #!/bin/bash | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2022 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | export MALLOC_CHECK_=3 | ||
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | ||
8 | export LC_ALL=C | ||
9 | |||
10 | echo "TESTING: private-etc (test/private-etc/private-etc.exp)" | ||
11 | ./private-etc.exp | ||
12 | |||
13 | echo "TESTING: profile (test/private-etc/profile.exp)" | ||
14 | ./private-etc.exp | ||
15 | |||
16 | echo "TESTING: groups (test/private-etc/groups.exp)" | ||
17 | ./groups.exp | ||
18 | |||
19 | echo "TESTING: etc-cleanup (test/private-etc/etc-cleanup.exp)" | ||
20 | ./etc-cleanup.exp | ||
21 | |||