summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko2009-07-18 03:40:35 +0200
committerDenys Vlasenko2009-07-18 03:40:35 +0200
commit73b71f381d24218cf6368364be723a7b5c9aeda9 (patch)
treefe3c6e1056417bbd2dc470cd5ad74daaf25542ea /testsuite
parentd23f64eba79a702c36d8d8cec23b49c320897138 (diff)
downloadbusybox-73b71f381d24218cf6368364be723a7b5c9aeda9.zip
busybox-73b71f381d24218cf6368364be723a7b5c9aeda9.tar.gz
date: factor out date parsing (in preparation for touch -d)
function old new delta parse_datestr - 391 +391 sha512_process_block128 1283 1310 +27 buffer_fill_and_print 179 196 +17 nexpr 826 840 +14 unzip_main 1931 1939 +8 popstring 134 140 +6 qrealloc 33 36 +3 builtin_umask 121 123 +2 evalvar 1365 1363 -2 changepath 194 192 -2 do_compress 1698 1688 -10 hwclock_main 340 329 -11 cmdputs 414 402 -12 identify 4343 4329 -14 date_main 1186 687 -499 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 7/7 up/down: 468/-550) Total: -82 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/bunzip2.tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/bunzip2.tests b/testsuite/bunzip2.tests
index 3105ba4..a7555ac 100755
--- a/testsuite/bunzip2.tests
+++ b/testsuite/bunzip2.tests
@@ -470,9 +470,9 @@ prep() {
check() {
eval $2 >t_actual 2>&1
if $ECHO -ne "$expected" | cmp - t_actual; then
- echo "$1: PASS"
+ echo "PASS: $1"
else
- echo "$1: FAIL"
+ echo "FAIL: $1"
fi
}