[LLVMbugs] [Bug 13121] ClamAV test case contains a virus that blocks SVN retrieve

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Nov 8 14:41:24 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=13121

Rick Foos <rfoos at codeaurora.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rfoos at codeaurora.org
          Component|Programs Tests              |General docs
         Resolution|WONTFIX                     |MOVED
            Product|Test Suite                  |Documentation

--- Comment #8 from Rick Foos <rfoos at codeaurora.org> ---
The proposed workaround for this bug should be part of the Windows
documentation.

Multisource\Applications\ClamAV\inputs\rtf-test\rtf1.rtf\EICAR.COM detected as
a virus on McAfee and other scanners.

Attempted several workarounds in SVN. While svn can ignore a file from status,
it cannot prevent an ignored file from being downloaded.

svn co/up cannot handle the antivirus software removing the file, and loses
precious files in the .svn directory. At that point, the checkout is useless.

While git can ignore a file, svn propedit must set a property. Anything we hide
using svn:ignore is saved in the repo and thus applies to everyone’s checked
out code. The svn:igonore really only applies to svn status, and doesn't keep
the file away.

Using svn co --depth immediate, svn up --set-depth infinity, and so on to walk
the directory tree is awkward at best. This could possibly function, but too
difficult to maintain.

WORKAROUND: test-suite contains EICAR.COM virus in rtf1.rtf.
On Windows svn checkout/update fails, repository unusable.

GIT clone can handle antivirus file removal without errors, and allows the
test-suite to work on Windows.

C:\bld>git clone http://llvm.org/git/test-suite
Cloning into 'test-suite'...
remote: Counting objects: 28330, done.
remote: Compressing objects: 100% (12173/12173), done.
remote: Total 28330 (delta 16407), reused 25517 (delta 15202)
Receiving objects: 100% (28330/28330), 80.32 MiB | 2.30 MiB/s, done.
Resolving deltas: 100% (16407/16407), done.

C:\bld\test-suite\MultiSource\Applications\ClamAV\inputs\rtf-test>git status
# On branch master
# Changes not staged for commit:
#   (use "git add/rm <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       deleted:    rtf1.rtf
#
no changes added to commit (use "git add" and/or "git commit -a")

Note: GIT is always a read-only repository.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131108/931f01bd/attachment.html>


More information about the llvm-bugs mailing list