diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2004-05-10 07:47:14 +0400 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2004-05-10 07:47:14 +0400 |
commit | e1c01373813687b85587a826dc4d2060ff410554 (patch) | |
tree | 2d6790cec9383a2504f50040ae68534f35522b0b /mcs/errors/do-tests.pl | |
parent | 9798870e155208976a9e15b925e1bcd4707be125 (diff) |
Add back lost 'chomp'.
svn path=/trunk/mcs/; revision=27013
Diffstat (limited to 'mcs/errors/do-tests.pl')
-rwxr-xr-x | mcs/errors/do-tests.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mcs/errors/do-tests.pl b/mcs/errors/do-tests.pl index 47959aebd4e..0a13e8889f2 100755 --- a/mcs/errors/do-tests.pl +++ b/mcs/errors/do-tests.pl @@ -70,6 +70,7 @@ foreach (glob ($files)) { print "$_"; my ($error_number) = (/[a-z]*(\d+)(-\d+)?\.cs/); my $options = `sed -n 's,^// Compiler options:,,p' $_`; + chomp $options; print "..."; system "$compile $options $_ --expect-error $error_number > /dev/null"; |