test-lib: Work around incompatible sort and find on Windows
commitf17e9fbbe919bc1f4ecaa35a9cb0869a5ec47fc0
authorJohannes Sixt <j6t@kdbg.org>
Wed, 11 Mar 2009 20:17:26 +0000 (11 21:17 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Thu, 19 Mar 2009 21:04:25 +0000 (19 22:04 +0100)
tree097f214b3bb85a306bb52358b32ac05c4e6bdb40
parenta8cbc9ab027dce3d99d0039a02ec9df0f0c7ebb1
test-lib: Work around incompatible sort and find on Windows

If the PATH lists the Windows system directories before the MSYS
directories, Windows's own incompatible sort and find commands would be
picked up. We implement these commands as functions and call the real
tools by absolute path.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
t/test-lib.sh