summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/mkfs.minix.tests2
1 files changed, 1 insertions, 1 deletions
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