work around BSD sed not interpreting \r in s/$/\r/

* src/kripketest/bad_parsing.test, src/tgbatest/neverclaimread.test,
src/tgbatest/readsave.test, src/tgbatest/hoaparse.test: Use Perl for the
unix2dos conversion.
This commit is contained in:
Alexandre Duret-Lutz 2014-12-05 10:25:33 +01:00
parent a0d9268fda
commit 88da1ad84d
4 changed files with 6 additions and 11 deletions

View file

@ -293,8 +293,7 @@ grep input: stderr > stderrfilt
diff stderrfilt expected-err
# DOS-style new lines should have the same output.
sed 's/$/\r/g' input > input.dos
mv input.dos input
perl -pi -e 's/$/\r/' input
run 2 ../ltl2tgba -ks -XN input > stdout 2>stderr
cat stderr
grep input: stderr > stderrfilt