diff options
author | startx2017 <vradu.startx@yandex.com> | 2017-10-15 09:00:31 -0400 |
---|---|---|
committer | startx2017 <vradu.startx@yandex.com> | 2017-10-15 09:00:31 -0400 |
commit | 5ee09312da788ebd91184c2be0591da32fbf8e41 (patch) | |
tree | fa866fc47933f83456a0b871df6b16c2efc75445 /test/environment/rlimit.exp | |
parent | globbing - manpage (diff) | |
download | firejail-5ee09312da788ebd91184c2be0591da32fbf8e41.tar.gz firejail-5ee09312da788ebd91184c2be0591da32fbf8e41.tar.zst firejail-5ee09312da788ebd91184c2be0591da32fbf8e41.zip |
merge --rlimit-as
Diffstat (limited to 'test/environment/rlimit.exp')
-rwxr-xr-x | test/environment/rlimit.exp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/environment/rlimit.exp b/test/environment/rlimit.exp index ecbe2a3b7..38cdc3eea 100755 --- a/test/environment/rlimit.exp +++ b/test/environment/rlimit.exp | |||
@@ -5,7 +5,7 @@ cd /home | |||
5 | spawn $env(SHELL) | 5 | spawn $env(SHELL) |
6 | match_max 100000 | 6 | match_max 100000 |
7 | 7 | ||
8 | send -- "firejail --rlimit-fsize=1024 --rlimit-nproc=1000 --rlimit-nofile=500 --rlimit-sigpending=200\r" | 8 | send -- "firejail --rlimit-fsize=1024 --rlimit-nproc=1000 --rlimit-nofile=500 --rlimit-sigpending=200 --rlimit-as=123456789012\r" |
9 | expect { | 9 | expect { |
10 | timeout {puts "TESTING ERROR 0\n";exit} | 10 | timeout {puts "TESTING ERROR 0\n";exit} |
11 | "Child process initialized" | 11 | "Child process initialized" |
@@ -27,10 +27,14 @@ expect { | |||
27 | } | 27 | } |
28 | expect { | 28 | expect { |
29 | timeout {puts "TESTING ERROR 1.4\n";exit} | 29 | timeout {puts "TESTING ERROR 1.4\n";exit} |
30 | "Max pending signals 200 200" | 30 | "Max address space 123456789012 123456789012" |
31 | } | 31 | } |
32 | expect { | 32 | expect { |
33 | timeout {puts "TESTING ERROR 1.5\n";exit} | 33 | timeout {puts "TESTING ERROR 1.5\n";exit} |
34 | "Max pending signals 200 200" | ||
35 | } | ||
36 | expect { | ||
37 | timeout {puts "TESTING ERROR 1.6\n";exit} | ||
34 | "home" | 38 | "home" |
35 | } | 39 | } |
36 | after 100 | 40 | after 100 |