aboutsummaryrefslogtreecommitdiffstats
path: root/test/root/option_tmpfs.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/root/option_tmpfs.exp')
-rwxr-xr-xtest/root/option_tmpfs.exp42
1 files changed, 0 insertions, 42 deletions
diff --git a/test/root/option_tmpfs.exp b/test/root/option_tmpfs.exp
deleted file mode 100755
index 2d9eea8f5..000000000
--- a/test/root/option_tmpfs.exp
+++ /dev/null
@@ -1,42 +0,0 @@
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 --tmpfs=/var\r"
11expect {
12 timeout {puts "TESTING ERROR 0\n";exit}
13 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
14}
15sleep 1
16
17send -- "ls -l /var;pwd\r"
18expect {
19 timeout {puts "TESTING ERROR 1\n";exit}
20 "total 0"
21}
22after 100
23send -- "exit\r"
24sleep 1
25
26send -- "firejail --debug-check-filename --tmpfs=\"bla&&bla\"\r"
27expect {
28 timeout {puts "TESTING ERROR 13.1\n";exit}
29 "Checking filename bla&&bla"
30}
31expect {
32 timeout {puts "TESTING ERROR 13.2\n";exit}
33 "Error:"
34}
35expect {
36 timeout {puts "TESTING ERROR 13.3\n";exit}
37 "is an invalid filename"
38}
39after 100
40
41
42puts "\nall done\n"