rlimit: rename test profiles for clarity

Add the specific rlimit command name to the filename.

Commands used to rename the files:

    git mv rlimit-bad1.profile rlimit-bad-fsize.profile
    git mv rlimit-bad2.profile rlimit-bad-nofile.profile
    git mv rlimit-bad3.profile rlimit-bad-nproc.profile
    git mv rlimit-bad4.profile rlimit-bad-sigpending.profile

Added on commit d30ae468d ("testing", 2016-11-19).
This commit is contained in:
Kelvin M. Klann 2025-09-08 09:00:33 -03:00
parent 993a9b373e
commit 3e4bbc3f21
5 changed files with 4 additions and 5 deletions

View file

@ -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"