* tests/core/ltlcross4.test: Ignore space diff in pandas' output.

This commit is contained in:
Alexandre Duret-Lutz 2017-06-03 11:03:58 +02:00
parent 526b299de8
commit 526e19d4b6

View file

@ -57,10 +57,11 @@ EOF
# will exit 77 if panda is not installed
$PYTHON test.py >out.1
# remove trailing whitespace from pandas' output,
# and limit to 6 lines, because Pandas 0.13 adds
# the size of the dataframe afterwards.
sed 's/[ \t]*$//g;6q' <out.1 > py.out
# remove trailing whitespace from pandas' output, and limit to 6
# lines, because Pandas 0.13 adds the size of the dataframe
# afterwards. Alse the spacing between columns differs from version
# to version.
sed 's/[ \t]*$//g;6q' <out.1 | sed 's/ */ /g' > py.out
cat >expected <<EOF
states transitions