bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/3] tests: fix perl invocation


From: Akim Demaille
Subject: [PATCH 1/3] tests: fix perl invocation
Date: Wed, 1 Aug 2012 10:34:15 +0200

Reported by Summum Bonum.

* tests/synclines.at: Fix Perl invocation: its -f is not like sed's.
---
 tests/synclines.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/synclines.at b/tests/synclines.at
index 7e7122f..1bda1c4 100644
--- a/tests/synclines.at
+++ b/tests/synclines.at
@@ -64,7 +64,7 @@ m4_define([AT_SYNCLINES_COMPILE],
 #   distcc[35882] (dcc_connect_by_name) ERROR: failed to look up host 
"chrisimac": Unknown host
 #   distcc[35882] Warning: failed to distribute input.c to chrisimac/4, 
running locally instead
 
-AT_CHECK([[perl -p -0777 -f - stderr <<\EOF
+AT_CHECK([[perl -p -0777 - stderr <<\EOF
  s/^distcc\[\d+\] .*\n//gm;
  s/^([^:]*:\d+)[.:][^:]*:(.*)$/$][1:$][2/gm;
  s/^([^:]*:\d+:)[^#]*( #error)/$][1$][2/gm;
-- 
1.7.11.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]