changeset 20390:3fedc29a98bb

tests: use ls instead of find, all files are in the same directory In this case find has no advantage compared to ls. Descending into directories is unnecessary, because there are none.
author Simon Heimberg <simohe@besonet.ch>
date Mon, 03 Feb 2014 20:08:58 +0100
parents 9a86b5b8e0d8
children 466e4c574db0
files tests/test-gendoc.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-gendoc.t	Mon Jan 27 11:17:07 2014 +0100
+++ b/tests/test-gendoc.t	Mon Feb 03 20:08:58 2014 +0100
@@ -3,7 +3,7 @@
   $ "$TESTDIR/hghave" docutils || exit 80
   $ HGENCODING=UTF-8
   $ export HGENCODING
-  $ { echo C; find "$TESTDIR/../i18n" -name "*.po" | sort; } | while read PO; do
+  $ { echo C; ls "$TESTDIR/../i18n"/*.po | sort; } | while read PO; do
   >     LOCALE=`basename "$PO" .po`
   >     echo
   >     echo "% extracting documentation from $LOCALE"