aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-01-21 08:28:37 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-01-21 08:28:37 +0100
commit0cfba07fcd6e909b1a6113e2904da3a5f2d8349e (patch)
treea77bba0eae751a4d564efa30fc785b0db2e4fabd /testsuite
parent4609f477c7e043a4f6147dfe6e86b775da2ef784 (diff)
downloadbusybox-0cfba07fcd6e909b1a6113e2904da3a5f2d8349e.tar.gz
fix testsuite false positive
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 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