From d01c71b92ca9071525f778c6d62493e2f7158d80 Mon Sep 17 00:00:00 2001 From: "pschwartau%netscape.com" Date: Mon, 26 Mar 2001 22:00:53 +0000 Subject: [PATCH] In some shells, carriage returns are "\n"; in others, "\r\n". Look for either possibility - --- js/tests/jsDriver.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tests/jsDriver.pl b/js/tests/jsDriver.pl index d30942d288cf..2dc251f4d151 100755 --- a/js/tests/jsDriver.pl +++ b/js/tests/jsDriver.pl @@ -810,7 +810,7 @@ sub expand_user_test_list { die("Error opening test list file '$list_file': $!\n"); while () { - s/\n$//; + s/\r*\n*$//; if (!(/\s*\#/)) { # It's not a comment, so process it push (@retval, &expand_test_list_entry($_));