summaryrefslogtreecommitdiffstats
path: root/tests/intl2.sub
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/intl2.sub11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/intl2.sub b/tests/intl2.sub
new file mode 100644
index 0000000..64961bc
--- /dev/null
+++ b/tests/intl2.sub
@@ -0,0 +1,11 @@
+unset LC_ALL LC_NUMERIC
+export LANG=de_DE.UTF-8
+printf '%.4f\n' 1
+
+LANG=C printf '%.4f\n' 1
+LANG=C /usr/bin/printf '%.4f\n' 1
+
+env LANG=C printf '%.4f\n' 1
+(LANG=C; printf '%.4f\n' 1)
+
+printf '%.4f\n' 1