tests: beware of portability of readline

* examples/test: here.
This commit is contained in:
Akim Demaille
2020-04-28 18:36:03 +02:00
parent 3b05de2d05
commit 4c641c5189

View File

@@ -92,7 +92,8 @@ run ()
$echo "$1" |
sed -e 's/Reducing stack by rule .* (line .*):/Reducing stack by rule XX (line XXX):/g' |
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
cat
fi >exp