diff --git a/test/environment/rlimit-bad1.profile b/test/environment/rlimit-bad-fsize.profile similarity index 100% rename from test/environment/rlimit-bad1.profile rename to test/environment/rlimit-bad-fsize.profile diff --git a/test/environment/rlimit-bad2.profile b/test/environment/rlimit-bad-nofile.profile similarity index 100% rename from test/environment/rlimit-bad2.profile rename to test/environment/rlimit-bad-nofile.profile diff --git a/test/environment/rlimit-bad3.profile b/test/environment/rlimit-bad-nproc.profile similarity index 100% rename from test/environment/rlimit-bad3.profile rename to test/environment/rlimit-bad-nproc.profile diff --git a/test/environment/rlimit-bad-profile.exp b/test/environment/rlimit-bad-profile.exp index 336c73dd4..b1ba153ff 100755 --- a/test/environment/rlimit-bad-profile.exp +++ b/test/environment/rlimit-bad-profile.exp @@ -7,28 +7,27 @@ set timeout 10 spawn $env(SHELL) match_max 100000 - -send -- "firejail --profile=rlimit-bad1.profile\r" +send -- "firejail --profile=rlimit-bad-fsize.profile\r" expect { timeout {puts "TESTING ERROR 4\n";exit} "invalid rlimit-fsize in profile file. Only use positive numbers and K, M or G suffix." } after 100 -send -- "firejail --profile=rlimit-bad2.profile\r" +send -- "firejail --profile=rlimit-bad-nofile.profile\r" expect { timeout {puts "TESTING ERROR 5\n";exit} "invalid rlimit" } after 100 -send -- "firejail --profile=rlimit-bad3.profile\r" +send -- "firejail --profile=rlimit-bad-nproc.profile\r" expect { timeout {puts "TESTING ERROR 6\n";exit} "invalid rlimit" } after 100 -send -- "firejail --profile=rlimit-bad4.profile\r" +send -- "firejail --profile=rlimit-bad-sigpending.profile\r" expect { timeout {puts "TESTING ERROR 7\n";exit} "invalid rlimit" diff --git a/test/environment/rlimit-bad4.profile b/test/environment/rlimit-bad-sigpending.profile similarity index 100% rename from test/environment/rlimit-bad4.profile rename to test/environment/rlimit-bad-sigpending.profile