texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Gavin D. Smith
Date: Sun, 23 Oct 2022 08:56:34 -0400 (EDT)

branch: master
commit f5986984323417303ec6e61fcd51c87b9281b1ba
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Oct 23 12:16:01 2022 +0100

    * install-info/tests/README: Complete list of tests (not
    updated since 2014).
    * install-info/tests/ii-0054-test: Remove commented-out code.
    * install-info/tests/ii-0056-test: Correct test number and update
    reference results.
---
 ChangeLog                                    |  8 ++++++++
 install-info/tests/README                    |  6 +++++-
 install-info/tests/ii-0054-test              | 15 ---------------
 install-info/tests/ii-0056-expected-dir-file |  6 ++++++
 install-info/tests/ii-0056-test              |  2 +-
 5 files changed, 20 insertions(+), 17 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 76f8a20004..3d51ae68ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-10-23  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * install-info/tests/README: Complete list of tests (not
+       updated since 2014).
+       * install-info/tests/ii-0054-test: Remove commented-out code.
+       * install-info/tests/ii-0056-test: Correct test number and update
+       reference results.
+
 2022-10-23  Patrice Dumas  <pertusus@free.fr>
 
        Avoid UTF-8 encoded file name in make rule prerequisite
diff --git a/install-info/tests/README b/install-info/tests/README
index 37ad6dd011..634c71c851 100644
--- a/install-info/tests/README
+++ b/install-info/tests/README
@@ -1,6 +1,6 @@
 install-info/tests/README
 
-  Copyright 2008-2019 Free Software Foundation, Inc.
+  Copyright 2008-2022 Free Software Foundation, Inc.
 
   Copying and distribution of this file, with or without modification,
   are permitted in any medium without royalty provided the copyright
@@ -172,3 +172,7 @@ This file describes each of the numbered install-info tests.
 0051: Allow periods in menu item name, e.g., config.status.
 0052: Allow periods in node name also, e.g., "config.status Invocation".
 0053: Check newline handling in input dir entries.
+0054: Compressed info file with space.
+0055: --defsection when its value is used
+0056: --defsection when its value is not used
+0057: --maxwidth
diff --git a/install-info/tests/ii-0054-test b/install-info/tests/ii-0054-test
index f51083229d..7524d1206b 100755
--- a/install-info/tests/ii-0054-test
+++ b/install-info/tests/ii-0054-test
@@ -22,18 +22,3 @@ diff ${testdir}/ii-0054-expected-dir-file $outputdirfile || 
exit $?
 
 rm -f "$info_with_space" $outputdirfile
 exit $retval
-
-
-#output_dir=`mktemp 'ii 54'-XXXXXXXX`
-#outputdirfile=`mktemp ii53-XXXXXXXX`
-#
-## Test for spaces in target directory name.
-#${install_info} --info-dir="${output_dir}" ${testdir}/ii-0054-input-info-file 
-#test $? = 0 || exit 2
-#
-#diff ${testdir}/ii-0053-expected-dir-file $outputdirfile
-#test $? = 0 || exit 3
-#
-#rm -f $outputdirfile
-#exit 0
-#
diff --git a/install-info/tests/ii-0056-expected-dir-file 
b/install-info/tests/ii-0056-expected-dir-file
index 60d56da548..bdcca6dd66 100644
--- a/install-info/tests/ii-0056-expected-dir-file
+++ b/install-info/tests/ii-0056-expected-dir-file
@@ -15,4 +15,10 @@ A few useful Info commands:
 * Menu:
 
 Animals
+* Aardvark: (aardvark).         Medium-sized African mammal.
+* Baboon: (baboon).             A monkey from Africa.
+* Chameleon: (chameleon).       A lizard from Africa.
+* Deer: (deer).                 Ruminent antlered mammal.
+* Emu: (emu).                   A flightless bird from Australia.
+* Fisher: (fisher).             A marten from North America.
 * Gnu: (gnu).                   Wildebeest native to Africa.
diff --git a/install-info/tests/ii-0056-test b/install-info/tests/ii-0056-test
index b98999d082..aab8ff5d8a 100755
--- a/install-info/tests/ii-0056-test
+++ b/install-info/tests/ii-0056-test
@@ -10,7 +10,7 @@
 . ./defs || exit 1
 
 # test of --defsection, when its value is not used.
-testnum=0055
+testnum=0056
 
 outputdirfile=`mktemp ii$testnum-XXXXXXXX`
 cp ${testdir}/ii-$testnum-input-dir-file $outputdirfile || exit 1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]