From 45480f36de7a5d0965912039d406534e2b80d4a0 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Fri, 14 Aug 2020 11:12:49 +0200 Subject: tests: fix rlimit test for 32bit archs On 32bit architectures like armhf, the output was "unlimited" instead of the expected value. --- test/environment/rlimit.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/environment/rlimit.exp') 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 spawn $env(SHELL) match_max 100000 -send -- "firejail --rlimit-fsize=1024 --rlimit-nproc=1000 --rlimit-nofile=500 --rlimit-sigpending=200 --rlimit-as=123456789012\r" +send -- "firejail --rlimit-fsize=1024 --rlimit-nproc=1000 --rlimit-nofile=500 --rlimit-sigpending=200 --rlimit-as=1234567890\r" expect { timeout {puts "TESTING ERROR 0\n";exit} "Child process initialized" @@ -30,7 +30,7 @@ expect { } expect { timeout {puts "TESTING ERROR 1.4\n";exit} - "Max address space 123456789012 123456789012" + "Max address space 1234567890 1234567890" } expect { timeout {puts "TESTING ERROR 1.5\n";exit} -- cgit v1.2.3-70-g09d2