[git commit] fix testsuite false positive
Denys Vlasenko
vda.linux at googlemail.com
Mon Jan 21 07:28:37 UTC 2013
commit: http://git.busybox.net/busybox/commit/?id=0cfba07fcd6e909b1a6113e2904da3a5f2d8349e
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
testsuite/mkfs.minix.tests | 2 +-
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
More information about the busybox-cvs
mailing list