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 2d46eefb77a83fe607beea9694bd9073ceca61af..69c8ee006b44fa46dfa736edb995eaa388924910 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