Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B159718ED1 for ; Mon, 28 Mar 2016 15:34:22 +0000 (UTC) Received: (qmail 84515 invoked by uid 500); 28 Mar 2016 15:34:22 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 84461 invoked by uid 500); 28 Mar 2016 15:34:22 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 84451 invoked by uid 99); 28 Mar 2016 15:34:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2016 15:34:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5A767180479 for ; Mon, 28 Mar 2016 15:34:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=visualsvn.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id hUg-fhCD51XS for ; Mon, 28 Mar 2016 15:34:19 +0000 (UTC) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com [209.85.217.178]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id C4D835FACE for ; Mon, 28 Mar 2016 15:34:18 +0000 (UTC) Received: by mail-lb0-f178.google.com with SMTP id u8so7560454lbk.0 for ; Mon, 28 Mar 2016 08:34:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=visualsvn.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=7+GdIA/22ia0no2ROq/HUV41TI5iP7EPKIWPmfGgEzQ=; b=JvDbdSj7hCXaC8gk8dCSWb4qtLP4OGTQz8JJqZKQdEGAYjU8emrzi8TcoHfPOdeeOj hQC1wVqbyqeNobVJT+aOt2h5L24OWDrcnNsFO1xCvU4K89+HwpopZ+ML2MHRO1wymy1J QErOOO0zrEaemauM48gytasUKN8Ygp2W3HJmg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=7+GdIA/22ia0no2ROq/HUV41TI5iP7EPKIWPmfGgEzQ=; b=i81OvDXUNyPuV14Z8+UxC8M4aRaenc28vexgsEyrx2E+rTPelIrZ39KAsGGB1KjK5s DI3F8t4dRi4lvoS/Exz3CvgyzbOmyBgYfxl/F59UNQFzZrW184k7lHR091b2+WmYB8Ue NUA4BFfm3Z90O69P9f6bQHDEECx+qYlUmi48irARiig/YB8C7V08Aj50oLUPscXow1u+ HdbPaHZGPzdE/iN3Tl7mm4bazMpip82Wm82KmE0S50cQeqEswuLUOEYdhL4vpvnbrqDS Io4do42Zi93WoJVdDPPY3CjwiRw/YeM7HXgSlitxA3+CX4ZbY2R3FlFBPV06jFT2fWbd fR7A== X-Gm-Message-State: AD7BkJJZJ9mLEopEj0yoc3HlmDihDMp+c5HbRStrPIDmP2cn/0UGdPhPV4mzI3eqFISEDq4bg2npdUdSGUO0j4Os X-Received: by 10.112.128.225 with SMTP id nr1mr10235457lbb.101.1459179256977; Mon, 28 Mar 2016 08:34:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.44.8 with HTTP; Mon, 28 Mar 2016 08:33:57 -0700 (PDT) In-Reply-To: <20150930144926.AC2CD3A0248@svn01-us-west.apache.org> References: <20150930144926.AC2CD3A0248@svn01-us-west.apache.org> From: Ivan Zhakov Date: Mon, 28 Mar 2016 18:33:57 +0300 Message-ID: Subject: Re: svn commit: r1706049 - in /subversion/trunk/subversion: libsvn_diff/parse-diff.c tests/cmdline/patch_tests.py To: dev@subversion.apache.org, Bert Huijben Content-Type: text/plain; charset=UTF-8 On 30 September 2015 at 17:49, wrote: > Author: rhuijben > Date: Wed Sep 30 14:49:25 2015 > New Revision: 1706049 > > URL: http://svn.apache.org/viewvc?rev=1706049&view=rev > Log: > Make it possible to possible to apply git style mode changes and binary file > patches at the same time. > [...] > > Modified: subversion/trunk/subversion/tests/cmdline/patch_tests.py > URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/patch_tests.py?rev=1706049&r1=1706048&r2=1706049&view=diff > ============================================================================== > --- subversion/trunk/subversion/tests/cmdline/patch_tests.py (original) > +++ subversion/trunk/subversion/tests/cmdline/patch_tests.py Wed Sep 30 14:49:25 2015 > @@ -6572,6 +6572,107 @@ def patch_empty_vs_delete(sbox): > [], True, True, > '--reverse-diff') > > +def patch_add_remove_executable(sbox): > + "add and remove executable file" > + > + sbox.build() > + wc_dir = sbox.wc_dir > + > + eicar_data = 'X5O!P%@AP[4\PZX54(P^)7CC)7}$' \ > + 'EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*\0' > + other_data = 'X5O!P%@AP[4\PZX54(P^)7CC)7}$' \ > + 'SOME-LESS-INTERESTING-OTHER-TEXT!!!$H+H*\0' > + Hi Bert, This test fails for me on Windows 10 with Windows defender enabled with error like this: [[[ W: svn: E720225: Can't open file 'C:\Users\ivan.OSTYSERVER\AppData\Local\Temp\svn-test-trunk-http\subversion\tests\cmdline\svn-test-work\working_copies\patch_tests-69\eicar.com': Operation did not complete successfully because the file contains a virus or potentially unwanted software. ]]] The file is recognized as virus since it's special test file for antivirus testing and blocks access to it. Do we really need using eicar.com in this test case? -- Ivan Zhakov