http://llvm.org/bugs/show_bug.cgi?id=2215
Summary: ClamAV test reads files from .svn directory
Product: Test Suite
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: Programs Tests
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
The clamscan program apparently has the behavior of recursively
scanning directories to find input files. Since this test's input files
are currently in a directory in the source tree, this unfortunately
means that the .svn files that are part of the source tree are
found and are read in as part of the test.
For example, I see this output:
Scanning
...../llvm-test/MultiSource/Applications/ClamAV/inputs/rtf-test/.svn/all-wcprops
...../llvm-test/MultiSource/Applications/ClamAV/inputs/rtf-test/.svn/all-wcprops:
OK
The main problem with this that I've hit is that stuff in the .svn
directory can change between runs, and since the llvm-test
makefiles don't re-run the native version if nothing they know
about has changed, this can cause failures because the new runs
will have different numbers of files to scan.
Theoretically there would also be a problem if something in the .svn
directory looked like a virus to clamscan.
One way to fix this would be to copy the input files into the
Output directory, excluding the .svn directories.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs