diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-09-22 10:46:39 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-09-22 10:46:39 +0100 |
commit | a962e38cae6467bb10e1ece7d33adedcaa54adb4 (patch) | |
tree | 1260358443e722b54b48edb8d515f027a041ddcb /test/aux-fixed/showenv | |
parent | 727a5d2511acd513514b52a72f8db294e54f3ae9 (diff) |
Testsuite: strip trailing / from "pwd" output
Diffstat (limited to 'test/aux-fixed/showenv')
-rwxr-xr-x | test/aux-fixed/showenv | 3 |
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 |