From bf58e35105696abf9f68f8e1536a3bbfa73ad60e Mon Sep 17 00:00:00 2001
From: Boris Kolpackov <boris@kolpackov.net>
Date: Sat, 13 Aug 2005 19:24:49 +0000
Subject: Wrapped calls to $(wildcard ) with $(sort) so that the resulting
 order is no longer filesystem-dependant.

---
 tests/scripts/functions/wildcard | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'tests/scripts/functions')

diff --git a/tests/scripts/functions/wildcard b/tests/scripts/functions/wildcard
index 5e5a5ff..d7a50aa 100644
--- a/tests/scripts/functions/wildcard
+++ b/tests/scripts/functions/wildcard
@@ -29,13 +29,13 @@ open(MAKEFILE,"> $makefile");
 
 print MAKEFILE <<EOM;
 .PHONY: print1 print2 clean
-print1: ;\@echo \$(wildcard example.*)
+print1: ;\@echo \$(sort \$(wildcard example.*))
 print2:
-\t\@echo \$(wildcard example.?)
-\t\@echo \$(wildcard example.[a-z0-9])
-\t\@echo \$(wildcard example.[!A-Za-z_\\!])
+\t\@echo \$(sort \$(wildcard example.?))
+\t\@echo \$(sort \$(wildcard example.[a-z0-9]))
+\t\@echo \$(sort \$(wildcard example.[!A-Za-z_\\!]))
 clean:
-\t$delete_command \$(wildcard example.*)
+\t$delete_command \$(sort \$(wildcard example.*))
 EOM
 
 # END of Contents of MAKEFILE
-- 
cgit v1.2.3