From: Jeremy Harris Date: Sun, 22 Sep 2019 09:46:39 +0000 (+0100) Subject: Testsuite: strip trailing / from "pwd" output X-Git-Tag: exim-4.93-RC0~52 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a962e38cae6467bb10e1ece7d33adedcaa54adb4;p=exim.git Testsuite: strip trailing / from "pwd" output --- 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