1 Return-Path: <too@guru-group.fi>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id EAE2C431FAF
\r
6 for <notmuch@notmuchmail.org>; Fri, 7 Jun 2013 14:37:38 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id u3fq8HRNj8Dg for <notmuch@notmuchmail.org>;
\r
16 Fri, 7 Jun 2013 14:37:31 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 9289A431FAE
\r
19 for <notmuch@notmuchmail.org>; Fri, 7 Jun 2013 14:37:31 -0700 (PDT)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id F23491001F1; Sat, 8 Jun 2013 00:37:30 +0300 (EEST)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: notmuch@notmuchmail.org
\r
24 Subject: [PATCH 1/1] test/basic: replaced find -perm +111 with portable
\r
26 Date: Sat, 8 Jun 2013 00:37:29 +0300
\r
27 Message-Id: <1370641049-17390-1-git-send-email-tomi.ollila@iki.fi>
\r
28 X-Mailer: git-send-email 1.8.0
\r
29 Cc: tomi.ollila@iki.fi
\r
30 X-BeenThere: notmuch@notmuchmail.org
\r
31 X-Mailman-Version: 2.1.13
\r
33 List-Id: "Use and development of the notmuch mail system."
\r
34 <notmuch.notmuchmail.org>
\r
35 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
36 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
37 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
38 List-Post: <mailto:notmuch@notmuchmail.org>
\r
39 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
40 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
41 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
42 X-List-Received-Date: Fri, 07 Jun 2013 21:37:41 -0000
\r
44 The find option syntax `-perm +111` is deprecated gnu find feature.
\r
45 The replacement `( -perm -100 -o -perm -10 -o -perm 1 )` should also
\r
46 work outside of the GNU domain.
\r
49 1 file changed, 2 insertions(+), 1 deletion(-)
\r
51 diff --git a/test/basic b/test/basic
\r
52 index 1b2a7d2..64eb7d7 100755
\r
55 @@ -53,7 +53,8 @@ test_expect_code 2 'failure to clean up causes the test to fail' '
\r
56 test_begin_subtest 'Ensure that all available tests will be run by notmuch-test'
\r
57 eval $(sed -n -e '/^TESTS="$/,/^"$/p' $TEST_DIRECTORY/notmuch-test)
\r
58 tests_in_suite=$(for i in $TESTS; do echo $i; done | sort)
\r
59 -available=$(find "$TEST_DIRECTORY" -maxdepth 1 -type f -perm +111 \
\r
60 +available=$(find "$TEST_DIRECTORY" -maxdepth 1 -type f \
\r
61 + '(' -perm -100 -o -perm -10 -o -perm -1 ')' \
\r
62 ! -name aggregate-results.sh \
\r