diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-18 05:41:29 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-18 05:41:29 +0400 |
commit | 7aca89a7a32a1e560c447952c28a8b1e7fb775fc (patch) | |
tree | b988939ee5fc2cf2235847d5f04ba5887b185e05 /testsuite/runtest | |
parent | 73b71f381d24218cf6368364be723a7b5c9aeda9 (diff) |
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 # Populate a directory with links to all busybox applets -# Note: if $LINKSDIR/applet exists, we do not overwrite it. -# Useful if one wants to run tests against a standard utility, not an applet. LINKSDIR="$bindir/runtest-tempdir-links" -#rm -rf "$LINKSDIR" 2>/dev/null + +# Comment this line out if you have put a different binary in $LINKSDIR +# (say, a "standard" tool's binary) in order to run tests against it: +rm -rf "$LINKSDIR" 2>/dev/null + mkdir "$LINKSDIR" 2>/dev/null for i in $implemented; do + # Note: if $LINKSDIR/applet exists, we do not overwrite it. + # Useful if one wants to run tests against a standard utility, + # not an applet. ln -s "$bindir/busybox" "$LINKSDIR/$i" 2>/dev/null done |