summaryrefslogtreecommitdiff
path: root/test/aux-fixed
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-09-22 10:46:39 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-09-22 10:46:39 +0100
commita962e38cae6467bb10e1ece7d33adedcaa54adb4 (patch)
tree1260358443e722b54b48edb8d515f027a041ddcb /test/aux-fixed
parent727a5d2511acd513514b52a72f8db294e54f3ae9 (diff)
Testsuite: strip trailing / from "pwd" output
Diffstat (limited to 'test/aux-fixed')
-rwxr-xr-xtest/aux-fixed/showenv3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/aux-fixed/showenv b/test/aux-fixed/showenv
index 2d46eefb7..69c8ee006 100755
--- a/test/aux-fixed/showenv
+++ b/test/aux-fixed/showenv
@@ -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