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_): Set IFS, like in Autoconf's _AS_PATH_WALK and
in build-aux/relocatable.sh.in.
+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_): Set IFS, like in Autoconf's _AS_PATH_WALK and
+ in build-aux/relocatable.sh.in.
+
2024-01-12 Bruno Haible <bruno@clisp.org>
jit/cache tests: Fix link error.
# Remove relative and non-accessible directories from PATH, including '.'
# and Zero-length entries.
- saved_IFS="$IFS"
- IFS=:
+ saved_IFS="$IFS"; IFS="$PATH_SEPARATOR"
new_PATH=
sep_=
for dir in $PATH; do
+ IFS="$saved_IFS"
case "$dir" in
/*) test -d "$dir/." || continue
new_PATH="${new_PATH}${sep_}${dir}"