From a962e38cae6467bb10e1ece7d33adedcaa54adb4 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 22 Sep 2019 10:46:39 +0100 Subject: [PATCH] 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 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 -- 2.25.1