]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
nl_langinfo tests: Prepare for adding more tests.
authorBruno Haible <bruno@clisp.org>
Wed, 8 Feb 2023 22:38:08 +0000 (23:38 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 8 Feb 2023 22:38:08 +0000 (23:38 +0100)
* tests/test-nl_langinfo1.c: Renamed from tests/test-nl_langinfo.c.
* tests/test-nl_langinfo1.sh: Renamed from tests/test-nl_langinfo.sh.
Update.
* modules/nl_langinfo-tests (Files, Makefile.am): Update.

ChangeLog
modules/nl_langinfo-tests
tests/test-nl_langinfo1.c [moved from tests/test-nl_langinfo.c with 100% similarity]
tests/test-nl_langinfo1.sh [moved from tests/test-nl_langinfo.sh with 55% similarity]

index 3d093609dc319cbe62cf555946c9e8b5f0d4a350..fcced364ff866b52ec8ad687db3b8394c5c78a84 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2023-02-08  Bruno Haible  <bruno@clisp.org>
+
+       nl_langinfo tests: Prepare for adding more tests.
+       * tests/test-nl_langinfo1.c: Renamed from tests/test-nl_langinfo.c.
+       * tests/test-nl_langinfo1.sh: Renamed from tests/test-nl_langinfo.sh.
+       Update.
+       * modules/nl_langinfo-tests (Files, Makefile.am): Update.
+
 2023-02-08  Bruno Haible  <bruno@clisp.org>
 
        assert-h: Fix test failure on IRIX 6.5.
index c6770ec3218fc4964f1b774bb9abb74f817da476..e4456e378900759e7a5f2e5501b371d11e82a910 100644 (file)
@@ -1,6 +1,6 @@
 Files:
-tests/test-nl_langinfo.sh
-tests/test-nl_langinfo.c
+tests/test-nl_langinfo1.sh
+tests/test-nl_langinfo1.c
 tests/test-nl_langinfo-mt.c
 tests/signature.h
 tests/macros.h
@@ -17,8 +17,8 @@ gt_LOCALE_FR
 gt_LOCALE_FR_UTF8
 
 Makefile.am:
-TESTS += test-nl_langinfo.sh test-nl_langinfo-mt
+TESTS += test-nl_langinfo1.sh test-nl_langinfo-mt
 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
-check_PROGRAMS += test-nl_langinfo test-nl_langinfo-mt
-test_nl_langinfo_LDADD = $(LDADD) $(SETLOCALE_LIB)
+check_PROGRAMS += test-nl_langinfo1 test-nl_langinfo-mt
+test_nl_langinfo1_LDADD = $(LDADD) $(SETLOCALE_LIB)
 test_nl_langinfo_mt_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBMULTITHREAD) $(NANOSLEEP_LIB)
similarity index 55%
rename from tests/test-nl_langinfo.sh
rename to tests/test-nl_langinfo1.sh
index a66672fe2c65265771cce562d9f7d2432422df26..9acfcdd949733ec673b4a689122152abbd8382b5 100755 (executable)
@@ -1,17 +1,17 @@
 #!/bin/sh
 
-LC_ALL=C ${CHECKER} ./test-nl_langinfo${EXEEXT} 0 || exit 1
+LC_ALL=C ${CHECKER} ./test-nl_langinfo1${EXEEXT} 0 || exit 1
 
 # Test whether a specific traditional locale is installed.
 : "${LOCALE_FR=fr_FR}"
 if test $LOCALE_FR != none; then
-  LC_ALL=$LOCALE_FR ${CHECKER} ./test-nl_langinfo${EXEEXT} 1 || exit 1
+  LC_ALL=$LOCALE_FR ${CHECKER} ./test-nl_langinfo1${EXEEXT} 1 || exit 1
 fi
 
 # Test whether a specific UTF-8 locale is installed.
 : "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
 if test $LOCALE_FR_UTF8 != none; then
-  LC_ALL=$LOCALE_FR_UTF8 ${CHECKER} ./test-nl_langinfo${EXEEXT} 2 || exit 1
+  LC_ALL=$LOCALE_FR_UTF8 ${CHECKER} ./test-nl_langinfo1${EXEEXT} 2 || exit 1
 fi
 
 exit 0