mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
Use locale-independent sorting
On systems without installed/configured locales, the file list is sorted by byte comparison. On some locales it is sorted differently (e.g. X11 at the end).
This commit is contained in:
parent
37a5a3545e
commit
0bf89d9be0
1 changed files with 7 additions and 7 deletions
|
|
@ -15,29 +15,29 @@ expect {
|
|||
}
|
||||
sleep 1
|
||||
|
||||
send -- "ls -al /etc\r"
|
||||
send -- "LC_ALL=C ls -al /etc\r"
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 3\n";exit}
|
||||
"group"
|
||||
"X11"
|
||||
}
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 4\n";exit}
|
||||
"passwd"
|
||||
"group"
|
||||
}
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 5\n";exit}
|
||||
"resolv.conf"
|
||||
"passwd"
|
||||
}
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 6\n";exit}
|
||||
"X11"
|
||||
"resolv.conf"
|
||||
}
|
||||
|
||||
send -- "ls -al /etc\r"
|
||||
send -- "ls -al /etc; echo done\r"
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 7\n";exit}
|
||||
"shadow" {puts "TESTING ERROR 8\n";exit}
|
||||
"X11"
|
||||
"done"
|
||||
}
|
||||
|
||||
sleep 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue