From 10b09a0cd14132f092218bee7c09c30ace3b7cbe Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 21 Mar 2024 00:53:57 +0100 Subject: [PATCH] gnulib-tool-tests: Fix a failure of test-create-testdir-4.sh. --- gnulib-tool-tests/init.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnulib-tool-tests/init.sh b/gnulib-tool-tests/init.sh index 7fa8abd4..28822616 100644 --- a/gnulib-tool-tests/init.sh +++ b/gnulib-tool-tests/init.sh @@ -76,6 +76,11 @@ do_create_test () tmp=tmp$$ $GNULIB_SRCDIR/gnulib-tool --gnulib-dir=../gnulib-data --dir=$tmp-result `cat ${0%.sh}.args` >$tmp-out 2>$tmp-err rc=$? + # Remove .deps dirs, since we cannot check them in as part of the expected result. + deps_dir=`find $tmp-result -name .deps -type d -print` + if test -n "$deps_dir"; then + rmdir $deps_dir + fi if test $rc != 0; then cat $tmp-err >&2 echo "FAIL: gnulib-tool exited with code $rc." >&2 -- 2.39.5