aboutsummaryrefslogtreecommitdiffstats
path: root/test/environment/rlimit.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/environment/rlimit.exp')
-rwxr-xr-xtest/environment/rlimit.exp37
1 files changed, 0 insertions, 37 deletions
diff --git a/test/environment/rlimit.exp b/test/environment/rlimit.exp
deleted file mode 100755
index 611f69821..000000000
--- a/test/environment/rlimit.exp
+++ /dev/null
@@ -1,37 +0,0 @@
1#!/usr/bin/expect -f
2
3set timeout 10
4cd /home
5spawn $env(SHELL)
6match_max 100000
7
8send -- "firejail --rlimit-fsize=1024 --rlimit-nproc=1000 --rlimit-nofile=500 --rlimit-sigpending=200\r"
9expect {
10 timeout {puts "TESTING ERROR 0\n";exit}
11 "Child process initialized"
12}
13sleep 1
14
15send -- "cat /proc/self/limits; pwd\r"
16expect {
17 timeout {puts "TESTING ERROR 1.1\n";exit}
18 "Max file size 1024 1024"
19}
20expect {
21 timeout {puts "TESTING ERROR 1.2\n";exit}
22 "Max processes 1000 1000"
23}
24expect {
25 timeout {puts "TESTING ERROR 1.3\n";exit}
26 "Max open files 500 500"
27}
28expect {
29 timeout {puts "TESTING ERROR 1.4\n";exit}
30 "Max pending signals 200 200"
31}
32expect {
33 timeout {puts "TESTING ERROR 1.5\n";exit}
34 "home"
35}
36after 100
37puts "\n"