fix testsuite false positive

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2013-01-21 08:28:37 +01:00
parent 4609f477c7
commit 0cfba07fcd

View File

@ -9,7 +9,7 @@
# testing "test name" "options" "expected result" "file input" "stdin" # testing "test name" "options" "expected result" "file input" "stdin"
# '\n' produces 10 on little endian, but not on big endian # '\n' produces 10 on little endian, but not on big endian
cr=`echo | od -i | sed 's/.* //g;2d'` cr=`echo | od -i | sed 's/ *$//g;s/.* //g;2d'`
if [ x"$cr" = x"10" ]; then if [ x"$cr" = x"10" ]; then
hash=4f35f7afeba07d56055bed1f29ae20b7 hash=4f35f7afeba07d56055bed1f29ae20b7
else else