From: Jonathan Nieder Date: Fri, 31 Dec 2010 20:30:20 GMT Subject: Re: [PATCH] Fix expected values of setup tests on Windows Message-ID: <20101231203019.GC5898@burratino> In-Reply-To: <201012311711.06989.j6t@kdbg.org> Johannes Sixt wrote: > On Freitag, 31. Dezember 2010, Nguyen Thai Ngoc Duy wrote: >> in your patch does not. Does bash auto convert value in >> TRASH_DIRECTORY="$TE..." line? > > No. When this line is executed: > > TEST_DIRECTORY=$(pwd) > > $(pwd) still has its default behavior to return the POSIX style path. pwd is > redefined to pwd -W only later. Would it make sense to change it to TEST_DIRECTORY=$PWD for clarity and robustness against code movement, then?