summaryrefslogtreecommitdiff
path: root/testsuite/md5sum.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2010-11-22 23:49:10 +0100
committerDenys Vlasenko2010-11-22 23:49:10 +0100
commit26777aa1c659b229f07205291241e45e64712a72 (patch)
tree9f145eef2fe8ffb957ab89ee2f6d0ea9dc7dbd2e /testsuite/md5sum.tests
parent29ca1591335b2a73522c2c3ef43daff63c71e8dc (diff)
downloadbusybox-26777aa1c659b229f07205291241e45e64712a72.zip
busybox-26777aa1c659b229f07205291241e45e64712a72.tar.gz
fixes for bugs discovered by randomconfig builds and tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/md5sum.tests')
-rwxr-xr-xtestsuite/md5sum.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/md5sum.tests b/testsuite/md5sum.tests
index 35ec67c..1068b08 100755
--- a/testsuite/md5sum.tests
+++ b/testsuite/md5sum.tests
@@ -18,6 +18,11 @@ fi
sum="$1"
expected="$2"
+test -f "$bindir/.config" && . "$bindir/.config"
+
+test x"$CONFIG_FEATURE_FANCY_HEAD" != x"y" \
+&& { echo "SKIPPED: $sum"; exit 0; }
+
text="The quick brown fox jumps over the lazy dog"
text=`yes "$text" | head -c 9999`