aboutsummaryrefslogtreecommitdiffstats
path: root/test/chroot/chroot.sh
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-02-28 09:51:26 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2023-02-28 09:51:26 -0500
commit27c4d069f322fbeca07c88e0e96208233103a5db (patch)
treefb4b4fdc75eb5e633ab55b8228a60f54176446a0 /test/chroot/chroot.sh
parentfix cppcheck/scan-build problems (diff)
downloadfirejail-27c4d069f322fbeca07c88e0e96208233103a5db.tar.gz
firejail-27c4d069f322fbeca07c88e0e96208233103a5db.tar.zst
firejail-27c4d069f322fbeca07c88e0e96208233103a5db.zip
chroot testing
Diffstat (limited to 'test/chroot/chroot.sh')
-rwxr-xr-xtest/chroot/chroot.sh5
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
11gcc -o unchroot unchroot.c 11gcc -o unchroot unchroot.c
12sudo ./configure 12sudo ./configure
13 13
14echo "TESTING: chroot disabled (test/chroot/fs_chroot_disabled.exp)"
15./fs_chroot_disabled.exp
16
17sudo sed -i s/"# chroot no"/"chroot yes"/g /etc/firejail/firejail.config
18
14echo "TESTING: chroot (test/chroot/fs_chroot.exp)" 19echo "TESTING: chroot (test/chroot/fs_chroot.exp)"
15./fs_chroot.exp 20./fs_chroot.exp
16 21