]> granicus.if.org Git - libexpat/commitdiff
Tests: Address wildcard expansion order variance (fixes #13)
authorSebastian Pipping <sebastian@pipping.org>
Mon, 13 Mar 2017 16:39:14 +0000 (17:39 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Mon, 13 Mar 2017 16:39:14 +0000 (17:39 +0100)
expat/tests/xmltest.sh

index 64a17eec06f5b16c83fa02fd2c517589b740cd9f..a0d367a0d395dad2993153bc16f23293c83f86e6 100755 (executable)
@@ -98,7 +98,7 @@ for xmldir in ibm/valid/P* \
               sun/invalid ; do
   cd "$TS/xmlconf/$xmldir"
   mkdir -p "$OUTPUT$xmldir"
-  for xmlfile in *.xml ; do
+  for xmlfile in $(echo *.xml | sort -d) ; do
       RunXmlwfWF "$xmlfile" "$xmldir/"
       UpdateStatus $?
   done