about summary refs log tree commit diff
path: root/localedata/tst-localedef-hardlinks.root/test2_locale
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/tst-localedef-hardlinks.root/test2_locale
parent033362cfd7e0e1dccd6c9a2642710d6e3a7e7007 (diff)
downloadglibc-df6c63ebbce9679e755f0ecc716a33babee5d008.tar.gz
glibc-df6c63ebbce9679e755f0ecc716a33babee5d008.tar.xz
glibc-df6c63ebbce9679e755f0ecc716a33babee5d008.zip
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/tst-localedef-hardlinks.root/test2_locale')
-rw-r--r--localedata/tst-localedef-hardlinks.root/test2_locale3
1 files changed, 3 insertions, 0 deletions
diff --git a/localedata/tst-localedef-hardlinks.root/test2_locale b/localedata/tst-localedef-hardlinks.root/test2_locale
new file mode 100644
index 0000000000..79f4c3aec4
--- /dev/null
+++ b/localedata/tst-localedef-hardlinks.root/test2_locale
@@ -0,0 +1,3 @@
+comment_char %
+escape_char /
+% Empty test locale.  Must be identical to the other test locale.