From: Nguyen Thai Ngoc Duy Date: Fri, 31 Dec 2010 13:00:32 GMT Subject: Re: [PATCH] Fix expected values of setup tests on Windows Message-ID: In-Reply-To: <201012302205.13728.j6t@kdbg.org> 2010/12/31 Johannes Sixt : > On Windows, bash stores absolute path names in shell variables in POSIX > format that begins with a slash, rather than in drive-letter format; such > a value is converted to the latter format when it is passed to a non-MSYS > program such as git. Hmm.. from test-lib.sh: TEST_DIRECTORY=$(pwd) test="trash directory.$(basename "$0" .sh)" TRASH_DIRECTORY="$TEST_DIRECTORY/$test" I'm just curious how these lines make $TRASH_DIRECTORY in POSIX format, while here=$(pwd) in your patch does not. Does bash auto convert value in TRASH_DIRECTORY="$TE..." line? -- Duy