diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-18 03:41:29 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-18 03:41:29 +0200 |
commit | 7aca89a7a32a1e560c447952c28a8b1e7fb775fc (patch) | |
tree | b988939ee5fc2cf2235847d5f04ba5887b185e05 /testsuite/runtest | |
parent | 73b71f381d24218cf6368364be723a7b5c9aeda9 (diff) | |
download | busybox-w32-7aca89a7a32a1e560c447952c28a8b1e7fb775fc.tar.gz busybox-w32-7aca89a7a32a1e560c447952c28a8b1e7fb775fc.tar.bz2 busybox-w32-7aca89a7a32a1e560c447952c28a8b1e7fb775fc.zip |
touch: implement -d --date (our own testsuite needs that)
function old new delta
static.uname_longopts - 137 +137
touch_main 231 360 +129
static.touch_longopts - 32 +32
validate_tm_time - 28 +28
packed_usage 26616 26624 +8
date_main 687 686 -1
static.longopts 162 - -162
------------------------------------------------------------------------------
(add/remove: 3/1 grow/shrink: 2/1 up/down: 334/-163) Total: 171 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/runtest')
-rwxr-xr-x | testsuite/runtest | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/testsuite/runtest b/testsuite/runtest index 2d60591fb..5560f7bc2 100755 --- a/testsuite/runtest +++ b/testsuite/runtest | |||
@@ -120,12 +120,17 @@ fi | |||
120 | 120 | ||
121 | # Populate a directory with links to all busybox applets | 121 | # Populate a directory with links to all busybox applets |
122 | 122 | ||
123 | # Note: if $LINKSDIR/applet exists, we do not overwrite it. | ||
124 | # Useful if one wants to run tests against a standard utility, not an applet. | ||
125 | LINKSDIR="$bindir/runtest-tempdir-links" | 123 | LINKSDIR="$bindir/runtest-tempdir-links" |
126 | #rm -rf "$LINKSDIR" 2>/dev/null | 124 | |
125 | # Comment this line out if you have put a different binary in $LINKSDIR | ||
126 | # (say, a "standard" tool's binary) in order to run tests against it: | ||
127 | rm -rf "$LINKSDIR" 2>/dev/null | ||
128 | |||
127 | mkdir "$LINKSDIR" 2>/dev/null | 129 | mkdir "$LINKSDIR" 2>/dev/null |
128 | for i in $implemented; do | 130 | for i in $implemented; do |
131 | # Note: if $LINKSDIR/applet exists, we do not overwrite it. | ||
132 | # Useful if one wants to run tests against a standard utility, | ||
133 | # not an applet. | ||
129 | ln -s "$bindir/busybox" "$LINKSDIR/$i" 2>/dev/null | 134 | ln -s "$bindir/busybox" "$LINKSDIR/$i" 2>/dev/null |
130 | done | 135 | done |
131 | 136 | ||