[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * info/t/recode-C-locale.sh: New test.
From: |
Gavin D. Smith |
Subject: |
branch master updated: * info/t/recode-C-locale.sh: New test. |
Date: |
Thu, 17 Nov 2022 14:22:33 -0500 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new f726c558f6 * info/t/recode-C-locale.sh: New test.
f726c558f6 is described below
commit f726c558f6b47d62c5930944373ce52fab1e5468
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Thu Nov 17 19:22:17 2022 +0000
* info/t/recode-C-locale.sh: New test.
---
info/t/infodir/recode.info | 18 ++++++++++++++++++
info/t/recode-C-locale.sh | 27 +++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/info/t/infodir/recode.info b/info/t/infodir/recode.info
new file mode 100644
index 0000000000..25be749af5
--- /dev/null
+++ b/info/t/infodir/recode.info
@@ -0,0 +1,18 @@
+
+Node: Top
+
+Recoding test. Node needs to be long enough for failing case
+
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+Copyright ©
+
+
+Local Variables:
+coding: utf-8
+End:
diff --git a/info/t/recode-C-locale.sh b/info/t/recode-C-locale.sh
new file mode 100755
index 0000000000..257d50ca76
--- /dev/null
+++ b/info/t/recode-C-locale.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+# Copyright (C) 2022 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
+
+# Open a UTF-8 file in C locale.
+LC_ALL=C ; export LC_ALL
+run_ginfo -f recode
+printf q >&7
+
+timeout_test
+cleanup
+
- branch master updated: * info/t/recode-C-locale.sh: New test.,
Gavin D. Smith <=