From 0cfba07fcd6e909b1a6113e2904da3a5f2d8349e Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 21 Jan 2013 08:28:37 +0100 Subject: fix testsuite false positive Signed-off-by: Denys Vlasenko --- testsuite/mkfs.minix.tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite') diff --git a/testsuite/mkfs.minix.tests b/testsuite/mkfs.minix.tests index 7eecaf2..324eaaf 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 -- cgit v1.1