aboutsummaryrefslogtreecommitdiffstats
path: root/test/chroot/fs_chroot_disabled.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/chroot/fs_chroot_disabled.exp')
-rwxr-xr-xtest/chroot/fs_chroot_disabled.exp17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/chroot/fs_chroot_disabled.exp b/test/chroot/fs_chroot_disabled.exp
new file mode 100755
index 000000000..e6cfe85f3
--- /dev/null
+++ b/test/chroot/fs_chroot_disabled.exp
@@ -0,0 +1,17 @@
1#!/usr/bin/expect -f
2# This file is part of Firejail project
3# Copyright (C) 2014-2023 Firejail Authors
4# License GPL v2
5
6set timeout 10
7spawn $env(SHELL)
8match_max 100000
9
10send -- "firejail --chroot=/tmp/chroot\r"
11expect {
12 timeout {puts "TESTING ERROR 0\n";exit}
13 "feature is disabled"
14}
15sleep 1
16
17puts "all done\n"