mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
tests: beware of portability of readline
* examples/test: here.
This commit is contained in:
@@ -92,7 +92,8 @@ run ()
|
|||||||
$echo "$1" |
|
$echo "$1" |
|
||||||
sed -e 's/Reducing stack by rule .* (line .*):/Reducing stack by rule XX (line XXX):/g' |
|
sed -e 's/Reducing stack by rule .* (line .*):/Reducing stack by rule XX (line XXX):/g' |
|
||||||
if $strip_prompt; then
|
if $strip_prompt; then
|
||||||
sed -e '/^> /d'
|
# An extra EOL added in bistromathic's main. Keep that empty line.
|
||||||
|
sed -e '/^> ./d;s/^> $//g'
|
||||||
else
|
else
|
||||||
cat
|
cat
|
||||||
fi >exp
|
fi >exp
|
||||||
|
|||||||
Reference in New Issue
Block a user