Fixup for lirasm Windows test failure

cygwin sed wasn't trimming the output in the same fashion
than osx's version of sed.  Removing the escape slash appears
to work.

--HG--
extra : convert_revision : cf0963c16a8c560566fdce0b7187db3a97a060a7
This commit is contained in:
Rick Reitmaier 2010-11-02 20:48:44 -07:00
parent 3e780fbc0a
commit 9740d93c46

View File

@ -27,7 +27,7 @@ function runtest {
fi
# sed used to strip extra leading zeros from exponential values 'e+00' (see bug 602786)
if $LIRASM $options --execute $infile | tr -d '\r' | sed -e 's/e\+00*/e\+0/g' > testoutput.txt && cmp -s testoutput.txt $outfile
if $LIRASM $options --execute $infile | tr -d '\r' | sed -e 's/e+00*/e+0/g' > testoutput.txt && cmp -s testoutput.txt $outfile
then
echo "TEST-PASS | lirasm | lirasm $options --execute $infile"
else