aboutsummaryrefslogtreecommitdiffstats
path: root/test/environment/rlimit.exp
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-08-14 11:12:49 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2020-08-14 11:12:51 +0200
commit45480f36de7a5d0965912039d406534e2b80d4a0 (patch)
tree489d431dd853d804c8416e648449c80f3a66b2a1 /test/environment/rlimit.exp
parentprint errno if char device creation fails (diff)
downloadfirejail-45480f36de7a5d0965912039d406534e2b80d4a0.tar.gz
firejail-45480f36de7a5d0965912039d406534e2b80d4a0.tar.zst
firejail-45480f36de7a5d0965912039d406534e2b80d4a0.zip
tests: fix rlimit test for 32bit archs
On 32bit architectures like armhf, the output was "unlimited" instead of the expected value.
Diffstat (limited to 'test/environment/rlimit.exp')
-rwxr-xr-xtest/environment/rlimit.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/environment/rlimit.exp b/test/environment/rlimit.exp
index 757faf1f9..ed3f08e20 100755
--- a/test/environment/rlimit.exp
+++ b/test/environment/rlimit.exp
@@ -8,7 +8,7 @@ cd /home
8spawn $env(SHELL) 8spawn $env(SHELL)
9match_max 100000 9match_max 100000
10 10
11send -- "firejail --rlimit-fsize=1024 --rlimit-nproc=1000 --rlimit-nofile=500 --rlimit-sigpending=200 --rlimit-as=123456789012\r" 11send -- "firejail --rlimit-fsize=1024 --rlimit-nproc=1000 --rlimit-nofile=500 --rlimit-sigpending=200 --rlimit-as=1234567890\r"
12expect { 12expect {
13 timeout {puts "TESTING ERROR 0\n";exit} 13 timeout {puts "TESTING ERROR 0\n";exit}
14 "Child process initialized" 14 "Child process initialized"
@@ -30,7 +30,7 @@ expect {
30} 30}
31expect { 31expect {
32 timeout {puts "TESTING ERROR 1.4\n";exit} 32 timeout {puts "TESTING ERROR 1.4\n";exit}
33 "Max address space 123456789012 123456789012" 33 "Max address space 1234567890 1234567890"
34} 34}
35expect { 35expect {
36 timeout {puts "TESTING ERROR 1.5\n";exit} 36 timeout {puts "TESTING ERROR 1.5\n";exit}