diff options
author | Glenn Morris <rgm@gnu.org> | 2013-11-06 12:56:48 -0500 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-11-06 12:56:48 -0500 |
commit | 6b4ac03ebef0dcd36699c34444ddce7a246c06aa (patch) | |
tree | 146e4788decb37f16e00dbec7280f15a407f347c /test | |
parent | 5ca114d1a897f57d5570e2e5b243dc7111ab1c73 (diff) | |
download | emacs-6b4ac03ebef0dcd36699c34444ddce7a246c06aa.tar.gz emacs-6b4ac03ebef0dcd36699c34444ddce7a246c06aa.tar.bz2 emacs-6b4ac03ebef0dcd36699c34444ddce7a246c06aa.zip |
Guard against possible accidental matches with parent dirs in Makefiles
* lisp/Makefile.in (setwins_almost, setwins_for_subdirs):
Avoid accidental matches.
* test/automated/Makefile.in (setwins): Avoid accidental matches.
Diffstat (limited to 'test')
-rw-r--r-- | test/ChangeLog | 4 | ||||
-rw-r--r-- | test/automated/Makefile.in | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index e032af46af0..281ce981b5e 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,7 @@ +2013-11-06 Glenn Morris <rgm@gnu.org> + + * automated/Makefile.in (setwins): Avoid accidental matches. + 2013-11-06 Michael Albinus <michael.albinus@gmx.de> * automated/tramp-tests.el (tramp-test07-file-exists-p): diff --git a/test/automated/Makefile.in b/test/automated/Makefile.in index 63cffd9f828..617768995f1 100644 --- a/test/automated/Makefile.in +++ b/test/automated/Makefile.in @@ -39,9 +39,8 @@ emacs = unset EMACSLOADPATH; \ LC_ALL=C EMACS_TEST_DIRECTORY=$(srcdir) "$(EMACS)" $(EMACSOPT) # Common command to find subdirectories -setwins=subdirs=`find $(srcdir) -type d -print`; \ - for file in $$subdirs; do \ - case $$file in */data* | */flymake* ) ;; \ +setwins=for file in `find $(srcdir) -type d -print`; do \ + case $$file in $(srcdir)*/data* | $(srcdir)*/flymake* ) ;; \ *) wins="$$wins$${wins:+ }$$file" ;; \ esac; \ done |