trim trailing slashes from specified subdir so we output to the right place
authorMike Frysinger <vapier@gentoo.org>
Thu, 2 Apr 2009 22:46:52 +0000 (22:46 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 2 Apr 2009 22:46:52 +0000 (22:46 -0000)
shell/hush_test/run-all

index d7602c8..3fe3ba5 100755 (executable)
@@ -23,6 +23,7 @@ export THIS_SH
 do_test()
 {
     test -d "$1" || return 0
+    d=${d%/}
 #   echo Running tests in directory "$1"
     (
     tret=0