unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Mike Kelly <pioto@pioto.org>
To: notmuch@notmuchmail.org
Subject: [PATCH v2 8/9] test/atomicity: use a more portable 'cp' form
Date: Wed, 30 May 2012 03:02:03 -0400	[thread overview]
Message-ID: <1338361324-57289-9-git-send-email-pioto@pioto.org> (raw)
In-Reply-To: <1338361324-57289-1-git-send-email-pioto@pioto.org>

-a already implies -r/-R, so no need for both.

FreeBSD's cp complains:

  cp: the -R and -r options may not be specified together
---
 test/atomicity |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/atomicity b/test/atomicity
index 6df0a00..1c786fa 100755
--- a/test/atomicity
+++ b/test/atomicity
@@ -51,7 +51,7 @@ if test_require_external_prereq gdb; then
 
     # Prepare a snapshot of the updated maildir.  The gdb script will
     # update the database in this snapshot as it goes.
-    cp -ra $MAIL_DIR $MAIL_DIR.snap
+    cp -a $MAIL_DIR $MAIL_DIR.snap
     cp ${NOTMUCH_CONFIG} ${NOTMUCH_CONFIG}.snap
     NOTMUCH_CONFIG=${NOTMUCH_CONFIG}.snap notmuch config set database.path $MAIL_DIR.snap
 
-- 
1.7.10.2

  parent reply	other threads:[~2012-05-30  7:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-30  7:01 [PATCH v2 0/9] FreeBSD Support Patches Mike Kelly
2012-05-30  7:01 ` [PATCH v2 1/9] configure: Add support for FreeBSD Mike Kelly
2012-05-30  7:01 ` [PATCH v2 2/9] test/Makefile.local: Use $(XAPIAN_LDFLAGS) for symbol-test Mike Kelly
2012-05-30  7:01 ` [PATCH v2 3/9] Makefile.local: define _GNU_SOURCE Mike Kelly
2012-05-31  8:14   ` Jani Nikula
2012-05-30  7:01 ` [PATCH v2 4/9] test/smtp-dummy.c: fix compilation on FreeBSD Mike Kelly
2012-05-30  7:02 ` [PATCH v2 5/9] tests: Test against source man pages Mike Kelly
2012-05-30  7:02 ` [PATCH v2 6/9] test/basic: use portable args for find Mike Kelly
2012-05-30  7:02 ` [PATCH v2 7/9] test/count: fix numeric comparision tests on FreeBSD Mike Kelly
2012-05-30 20:28   ` Jameson Graef Rollins
2012-05-30 21:00     ` Tomi Ollila
2012-05-31  8:28       ` Jani Nikula
2012-05-30  7:02 ` Mike Kelly [this message]
2012-05-30  7:02 ` [PATCH v2 9/9] tests: bsd sed doesn't allow replacing '\n' Mike Kelly
2012-05-30 10:35 ` [PATCH v2 0/9] FreeBSD Support Patches Tomi Ollila
2012-09-02  2:41 ` David Bremner
2012-09-04 22:45   ` Mike Kelly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1338361324-57289-9-git-send-email-pioto@pioto.org \
    --to=pioto@pioto.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).