mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
In some shells, carriage returns are "\n"; in others, "\r\n". Look for either possibility -
This commit is contained in:
parent
b6c17ba0bb
commit
d01c71b92c
@ -810,7 +810,7 @@ sub expand_user_test_list {
|
||||
die("Error opening test list file '$list_file': $!\n");
|
||||
|
||||
while (<TESTLIST>) {
|
||||
s/\n$//;
|
||||
s/\r*\n*$//;
|
||||
if (!(/\s*\#/)) {
|
||||
# It's not a comment, so process it
|
||||
push (@retval, &expand_test_list_entry($_));
|
||||
|
Loading…
Reference in New Issue
Block a user