From: Nguyen Thai Ngoc Duy Date: Sat, 01 Jan 2011 03:46:54 GMT Subject: Re: [PATCH] Fix expected values of setup tests on Windows Message-ID: In-Reply-To: <201012311711.06989.j6t@kdbg.org> On Fri, Dec 31, 2010 at 11:11 PM, Johannes Sixt 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. > > I'm hesitant to redefine pwd earlier in test-lib.sh, though, because we would > have to audit all uses of TEST_DIRECTORY for whether POSIX style paths or > drive-letter paths are needed. Ah I missed that. Thanks. Ack from me. -- Duy