Here's a fix for this test failure:

$ ./test-cache-1-8.sh
Files ./test-cache-1-8.result/lib/Makefile.am and 
tmp1858399-result/lib/Makefile.am differ
Files ./test-cache-1-8.result/m4/gnulib-cache.m4 and 
tmp1858399-result/m4/gnulib-cache.m4 differ
FAIL: gnulib-tool's result has unexpected differences.
$ diff -u ./test-cache-1-8.result/m4/gnulib-cache.m4 
tmp1858399-result/m4/gnulib-cache.m4
--- ./test-cache-1-8.result/m4/gnulib-cache.m4  2024-04-12 00:17:57.547981888 
+0200
+++ tmp1858399-result/m4/gnulib-cache.m4        2024-04-12 15:34:53.113424660 
+0200
@@ -34,7 +34,7 @@
 #  --doc-base=doc \
 #  --tests-base=tests \
 #  --aux-dir=. \
-#  --with-privileged-tests \
+#  --with-privileged-test \
 #  --no-conditional-dependencies \
 #  --no-libtool \
 #  --macro-prefix=gl
$ diff -u ./test-cache-1-8.result/lib/Makefile.am 
tmp1858399-result/lib/Makefile.am
--- ./test-cache-1-8.result/lib/Makefile.am     2024-04-12 00:17:57.655982968 
+0200
+++ tmp1858399-result/lib/Makefile.am   2024-04-12 15:34:53.113424660 +0200
@@ -29,7 +29,7 @@
 #  --doc-base=doc \
 #  --tests-base=tests \
 #  --aux-dir=. \
-#  --with-privileged-tests \
+#  --with-privileged-test \
 #  --no-conditional-dependencies \
 #  --no-libtool \
 #  --macro-prefix=gl


2024-04-12  Bruno Haible  <br...@clisp.org>

        gnulib-tool.py: Fix misspelled option in output.
        * pygnulib/GLImport.py (GLImport.actioncmd): Fix typo.

diff --git a/pygnulib/GLImport.py b/pygnulib/GLImport.py
index 903bd2e581..8a576c2fb1 100644
--- a/pygnulib/GLImport.py
+++ b/pygnulib/GLImport.py
@@ -427,7 +427,7 @@ class GLImport:
         if self.config.checkInclTestCategory(TESTS['longrunning-test']):
             actioncmd += ' \\\n#  --with-longrunning-tests'
         if self.config.checkInclTestCategory(TESTS['privileged-test']):
-            actioncmd += ' \\\n#  --with-privileged-test'
+            actioncmd += ' \\\n#  --with-privileged-tests'
         if self.config.checkInclTestCategory(TESTS['unportable-test']):
             actioncmd += ' \\\n#  --with-unportable-tests'
         if self.config.checkInclTestCategory(TESTS['all-test']):




Reply via email to