Gitweb:
https://git.exim.org/exim.git/commitdiff/a962e38cae6467bb10e1ece7d33adedcaa54adb4
Commit: a962e38cae6467bb10e1ece7d33adedcaa54adb4
Parent: 727a5d2511acd513514b52a72f8db294e54f3ae9
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Sep 22 10:46:39 2019 +0100
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Sun Sep 22 10:46:39 2019 +0100
Testsuite: strip trailing / from "pwd" output
---
test/aux-fixed/showenv | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/aux-fixed/showenv b/test/aux-fixed/showenv
index 2d46eef..69c8ee0 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