SOLR-3268: use sync for more safety

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305587 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-03-26 20:59:42 +00:00
parent 33d1d81d87
commit ee7e14e5fd
1 changed files with 5 additions and 2 deletions

View File

@ -281,10 +281,13 @@
</ant>
</target>
<!-- TODO: really a copy should work: but sync is currently safer
since some buggy tests don't create their own tempdir but
modify this target directory directly... -->
<target name="sync-resources">
<copy todir="${build.dir}/test-files">
<sync todir="${build.dir}/test-files">
<fileset dir="${tests.userdir}"/>
</copy>
</sync>
</target>
<!-- Solr test-framework targets -->