From: Denys Vlasenko Date: Mon, 21 Jan 2013 07:28:37 +0000 (+0100) Subject: fix testsuite false positive X-Git-Tag: 1_21_0~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0cfba07fcd6e909b1a6113e2904da3a5f2d8349e;p=oweals%2Fbusybox.git fix testsuite false positive Signed-off-by: Denys Vlasenko --- diff --git a/testsuite/mkfs.minix.tests b/testsuite/mkfs.minix.tests index 7eecaf230..324eaafce 100755 --- a/testsuite/mkfs.minix.tests +++ b/testsuite/mkfs.minix.tests @@ -9,7 +9,7 @@ # testing "test name" "options" "expected result" "file input" "stdin" # '\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 hash=4f35f7afeba07d56055bed1f29ae20b7 else