GraphicsMagick: utilities/tests/convert.tap: Use sed to count fi...
GraphicsMagick Commits <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.cvs |
|---|---|
| Message-ID | <mailman.37911.1639521276.2008.graphicsmagick-commit@lists.sourceforge.net> |
changeset 0ae6efa44c38 in /hg/GraphicsMagick details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=0ae6efa44c38 summary: utilities/tests/convert.tap: Use sed to count file lines rather than wc since wc output is inconsistent diffstat: ChangeLog | 4 ++++ utilities/tests/convert.tap | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diffs (25 lines): diff -r 662c664bba0a -r 0ae6efa44c38 ChangeLog --- a/ChangeLog Tue Dec 14 15:32:52 2021 -0600 +++ b/ChangeLog Tue Dec 14 16:34:25 2021 -0600 @@ -1,5 +1,9 @@ 2021-12-14 Bob Friesenhahn <[email protected]> + * utilities/tests/convert.tap: Use sed to count file lines rather + than wc since wc output is inconsistent. Fixes SourceForge issue + #657 "Convert test fails in 1.3.37". + * configure.ac: Search for a GnuPG 'gpg' program. * Makefile.am (snapshot): Add support for PGP-signed snapshots. diff -r 662c664bba0a -r 0ae6efa44c38 utilities/tests/convert.tap --- a/utilities/tests/convert.tap Tue Dec 14 15:32:52 2021 -0600 +++ b/utilities/tests/convert.tap Tue Dec 14 16:34:25 2021 -0600 @@ -8,7 +8,7 @@ commands=${top_srcdir}/utilities/tests/convert-cmds.txt # Count how many commands there are -count=`wc -l ${commands} | sed -e 's/ .*//'` +count=`sed -n '$=' ${commands}` # Number of tests we plan to execute test_plan_fn ${count}