summaryrefslogtreecommitdiff
path: root/localedata/Makefile
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2020-02-25 10:15:30 -0500
committerCarlos O'Donell <carlos@redhat.com>2020-04-30 16:28:07 -0400
commitdf6c63ebbce9679e755f0ecc716a33babee5d008 (patch)
treef94f4a3856310c80df8dc9d2c2b2a061391856b9 /localedata/Makefile
parent033362cfd7e0e1dccd6c9a2642710d6e3a7e7007 (diff)
downloadglibc-df6c63ebbce9679e755f0ecc716a33babee5d008.tar.gz
localedef: Add tests-container test for --no-hard-links.
The new tst-localedef-hardlinks verifies that when compiling two locales (with default output directory) one with --no-hard-links and one without the option, results in the expected behaviour. When --no-hard-links is used the link counts on LC_CTYPE is 1, indicating that even thoug the two locale are identical (though different named source files and output direcotry) the localedef did not carry out the hard link optimization. Then when --no-hard-links is omitted the localedef hard link optimization is correctly carried out and for 2 compiled locales the link count for LC_CTYPE is 2. Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'localedata/Makefile')
-rw-r--r--localedata/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/localedata/Makefile b/localedata/Makefile
index e89bacc1aa..ccfcb0049f 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -167,6 +167,8 @@ tests-special += $(objpfx)mtrace-tst-leaks.out
endif
endif
endif
+tests-container = \
+ tst-localedef-hardlinks
# Files to install.
ifeq ($(INSTALL_UNCOMPRESSED),yes)