git://git.exim.org
/
users
/
jgh
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
727a5d2
)
Testsuite: strip trailing / from "pwd" output
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 22 Sep 2019 09:46:39 +0000
(10:46 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 22 Sep 2019 09:46:39 +0000
(10:46 +0100)
test/aux-fixed/showenv
patch
|
blob
|
history
diff --git
a/test/aux-fixed/showenv
b/test/aux-fixed/showenv
index 2d46eefb77a83fe607beea9694bd9073ceca61af..69c8ee006b44fa46dfa736edb995eaa388924910 100755
(executable)
--- a/
test/aux-fixed/showenv
+++ b/
test/aux-fixed/showenv
@@
-16,7
+16,8
@@
while [ "$1" != "" ]; do
shift
done
echo ----------current-----------
shift
done
echo ----------current-----------
-pwd
+# strip trailing / from pwd result
+d=`pwd`/dummy; dirname $d
echo ----------env-----------
echo A=$A
echo B=$B
echo ----------env-----------
echo A=$A
echo B=$B