Merge commit 'upstream/4.6.1'
[debian/atlc] / tests / find-zero-length.test
index e734b33a37c6fbef58a41edb9d2743a7d33a42cc..5bf0da5e0b270eee9ff2dada84c78afa38d9857e 100755 (executable)
@@ -12,7 +12,7 @@ mkdir $top_builddir/tmp 2> /dev/null
 rm -f $top_builddir/tmp/atlc-zero-bytes
 
 # since tmp/atlc-zero-bytes will be found, that must be ignored.
-find $top_srcdir -size 0c | grep -v tmp/atlc-zero-bytes > $top_builddir/tmp/atlc-zero-bytes 
+find $top_srcdir -type f -size 0c -print | grep -v tmp/atlc-zero-bytes > $top_builddir/tmp/atlc-zero-bytes
 
 # The file $top_builddir/tmp/atlc-zero-bytes contains a list of all the 
 # files which are zero bytes. Hopefully there are none, in