bug-bison
[Top][All Lists]
Advanced

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

SunOS 5.7 sed-Problem in testsuite for bison 1.29


From: Markus Schwarzenberg
Subject: SunOS 5.7 sed-Problem in testsuite for bison 1.29
Date: Mon, 10 Sep 2001 11:41:37 +0200

When running make check in bison-1.29/tests 
tests 1 through 12 failed.
This comes apparantly from a problem
with solaris sed, which seems to produce no output
if its one line standard input doesn't end with \n.
(I have no private version of sed in my $PATH)

After I changed all lines like

  ( $at_traceon; ls foo.output foo.tab.c foo.tab.h | sort | tr '\n' ' ' | sed 
's/.$//g' ) >at-stdout 2>at-stder1

to  

  ( $at_traceon; ls foo.output foo.tab.c foo.tab.h | sort | tr '\n' ' ' ) 
>at-stdout 2>at-stder1

and added the now not removed last space for the diff input - change

  echo >>at-stdout; echo "foo.output foo.tab.c foo.tab.h" | $at_diff - 
at-stdout >&5 || at_failed=:

to 

  echo >>at-stdout; echo "foo.output foo.tab.c foo.tab.h" | $at_diff - 
at-stdout >&5 || at_failed=:

testsuite worked perfectly.


Markus Schwarzenberg



Attachment: testsuite.diff
Description: plain text

Attachment: testsuite.log.gz
Description: testsuite gzipped


reply via email to

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