]> git.saurik.com Git - bison.git/commitdiff
tests: synclines: fix perl invocation
authorAkim Demaille <akim@lrde.epita.fr>
Wed, 1 Aug 2012 07:30:23 +0000 (09:30 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Wed, 1 Aug 2012 13:02:21 +0000 (15:02 +0200)
Reported by Summum Bonum.

* tests/synclines.at: Fix Perl invocation: its -f is not like sed's.

tests/synclines.at

index 7e7122f902197abb8225a77f3b0c0ba6610ddf09..1bda1c422a04821419b93466d870e60afe64b8db 100644 (file)
@@ -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
 
 #   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;
  s/^distcc\[\d+\] .*\n//gm;
  s/^([^:]*:\d+)[.:][^:]*:(.*)$/$][1:$][2/gm;
  s/^([^:]*:\d+:)[^#]*( #error)/$][1$][2/gm;