diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2020-08-14 11:12:49 +0200 |
---|---|---|
committer | Reiner Herrmann <reiner@reiner-h.de> | 2020-08-14 11:12:51 +0200 |
commit | 45480f36de7a5d0965912039d406534e2b80d4a0 (patch) | |
tree | 489d431dd853d804c8416e648449c80f3a66b2a1 /test/environment/rlimit.exp | |
parent | print errno if char device creation fails (diff) | |
download | firejail-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-x | test/environment/rlimit.exp | 4 |
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 | |||
8 | spawn $env(SHELL) | 8 | spawn $env(SHELL) |
9 | match_max 100000 | 9 | match_max 100000 |
10 | 10 | ||
11 | send -- "firejail --rlimit-fsize=1024 --rlimit-nproc=1000 --rlimit-nofile=500 --rlimit-sigpending=200 --rlimit-as=123456789012\r" | 11 | send -- "firejail --rlimit-fsize=1024 --rlimit-nproc=1000 --rlimit-nofile=500 --rlimit-sigpending=200 --rlimit-as=1234567890\r" |
12 | expect { | 12 | expect { |
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 | } |
31 | expect { | 31 | expect { |
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 | } |
35 | expect { | 35 | expect { |
36 | timeout {puts "TESTING ERROR 1.5\n";exit} | 36 | timeout {puts "TESTING ERROR 1.5\n";exit} |