In some shells, carriage returns are "\n"; in others, "\r\n". Look for either possibility -

This commit is contained in:
pschwartau%netscape.com 2001-03-26 22:00:53 +00:00
parent b6c17ba0bb
commit d01c71b92c

View File

@ -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($_));