diff options
author | netblue30 <netblue30@protonmail.com> | 2023-02-28 09:51:26 -0500 |
---|---|---|
committer | netblue30 <netblue30@protonmail.com> | 2023-02-28 09:51:26 -0500 |
commit | 27c4d069f322fbeca07c88e0e96208233103a5db (patch) | |
tree | fb4b4fdc75eb5e633ab55b8228a60f54176446a0 /test/chroot/chroot.sh | |
parent | fix cppcheck/scan-build problems (diff) | |
download | firejail-27c4d069f322fbeca07c88e0e96208233103a5db.tar.gz firejail-27c4d069f322fbeca07c88e0e96208233103a5db.tar.zst firejail-27c4d069f322fbeca07c88e0e96208233103a5db.zip |
chroot testing
Diffstat (limited to 'test/chroot/chroot.sh')
-rwxr-xr-x | test/chroot/chroot.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/chroot/chroot.sh b/test/chroot/chroot.sh index 840f162cc..a1fb3ee38 100755 --- a/test/chroot/chroot.sh +++ b/test/chroot/chroot.sh | |||
@@ -11,6 +11,11 @@ rm -f unchroot | |||
11 | gcc -o unchroot unchroot.c | 11 | gcc -o unchroot unchroot.c |
12 | sudo ./configure | 12 | sudo ./configure |
13 | 13 | ||
14 | echo "TESTING: chroot disabled (test/chroot/fs_chroot_disabled.exp)" | ||
15 | ./fs_chroot_disabled.exp | ||
16 | |||
17 | sudo sed -i s/"# chroot no"/"chroot yes"/g /etc/firejail/firejail.config | ||
18 | |||
14 | echo "TESTING: chroot (test/chroot/fs_chroot.exp)" | 19 | echo "TESTING: chroot (test/chroot/fs_chroot.exp)" |
15 | ./fs_chroot.exp | 20 | ./fs_chroot.exp |
16 | 21 | ||