Reported by KO Myung-Hun <komh78@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-01/msg00037.html>.
* tests/init.sh (setup_): Test for an absolute directory name like
Autoconf does.
2024-01-15 Bruno Haible <bruno@clisp.org>
+ test-framework-sh: Improve portability to native Windows and OS/2.
+ Reported by KO Myung-Hun <komh78@gmail.com> in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2024-01/msg00037.html>.
+ * tests/init.sh (setup_): Test for an absolute directory name like
+ Autoconf does.
+
test-framework-sh: Improve portability to native Windows and OS/2.
Reported by KO Myung-Hun <komh78@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-01/msg00037.html>.
for dir in $PATH; do
IFS="$saved_IFS"
case "$dir" in
- /*)
+ [\\/]* | ?:[\\/]*)
test -d "$dir/." || continue
new_PATH="${new_PATH}${new_PATH:+$PATH_SEPARATOR}${dir}"
;;