Testsuite: strip trailing / from "pwd" output
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 22 Sep 2019 09:46:39 +0000 (10:46 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 22 Sep 2019 09:46:39 +0000 (10:46 +0100)
test/aux-fixed/showenv

index 2d46eef..69c8ee0 100755 (executable)
@@ -16,7 +16,8 @@ while [ "$1" != "" ]; do
   shift
 done
 echo ----------current-----------
-pwd
+# strip trailing / from pwd result
+d=`pwd`/dummy; dirname $d
 echo ----------env-----------
 echo A=$A
 echo B=$B