aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/run-all
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-02 22:46:52 +0000
committerMike Frysinger <vapier@gentoo.org>2009-04-02 22:46:52 +0000
commita36258f288e8242e44feabce485c836885dda46e (patch)
treec3272ecace1da464fbc6de74265531bc241aaa3a /shell/hush_test/run-all
parentb7aaae9052025426b669a0edeec1da5997fea8be (diff)
downloadbusybox-a36258f288e8242e44feabce485c836885dda46e.tar.gz
trim trailing slashes from specified subdir so we output to the right place
Diffstat (limited to 'shell/hush_test/run-all')
-rwxr-xr-xshell/hush_test/run-all1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/hush_test/run-all b/shell/hush_test/run-all
index d7602c890..3fe3ba51d 100755
--- a/shell/hush_test/run-all
+++ b/shell/hush_test/run-all
@@ -23,6 +23,7 @@ export THIS_SH
do_test()
{
test -d "$1" || return 0
+ d=${d%/}
# echo Running tests in directory "$1"
(
tret=0