From: Tomi Ollila <tomi.ollila@iki.fi>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Subject: Re: [PATCH] test: fix hardcoded paths in T050-new.sh
Date: Sun, 27 May 2018 19:11:22 +0300 [thread overview]
Message-ID: <m2lgc5krit.fsf@guru.guru-group.fi> (raw)
In-Reply-To: <20180526235400.20565-1-david@tethera.net>
On Sat, May 26 2018, David Bremner wrote:
> The previous paths will fail almost everywhere.
Who reviewed this commit? me? ;)
+1
Tomi
> ---
> test/T050-new.sh | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/test/T050-new.sh b/test/T050-new.sh
> index 40c5e6fa..dfc8508f 100755
> --- a/test/T050-new.sh
> +++ b/test/T050-new.sh
> @@ -238,12 +238,12 @@ notmuch config set new.ignore .git ignored_file .ignored_hidden_file
> touch "${MAIL_DIR}"/.git # change .git's mtime for notmuch new to rescan.
> NOTMUCH_NEW --debug 2>&1 | sort > OUTPUT
> cat <<EOF > EXPECTED
> -(D) add_files, pass 1: explicitly ignoring /home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/.git
> -(D) add_files, pass 1: explicitly ignoring /home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/.ignored_hidden_file
> -(D) add_files, pass 1: explicitly ignoring /home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/ignored_file
> -(D) add_files, pass 2: explicitly ignoring /home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/.git
> -(D) add_files, pass 2: explicitly ignoring /home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/.ignored_hidden_file
> -(D) add_files, pass 2: explicitly ignoring /home/bremner/software/upstream/notmuch/test/tmp.T050-new/mail/ignored_file
> +(D) add_files, pass 1: explicitly ignoring ${MAIL_DIR}/.git
> +(D) add_files, pass 1: explicitly ignoring ${MAIL_DIR}/.ignored_hidden_file
> +(D) add_files, pass 1: explicitly ignoring ${MAIL_DIR}/ignored_file
> +(D) add_files, pass 2: explicitly ignoring ${MAIL_DIR}/.git
> +(D) add_files, pass 2: explicitly ignoring ${MAIL_DIR}/.ignored_hidden_file
> +(D) add_files, pass 2: explicitly ignoring ${MAIL_DIR}/ignored_file
> Added 1 new message to the database.
> EOF
> test_expect_equal_file EXPECTED OUTPUT
> --
> 2.17.0
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch
next prev parent reply other threads:[~2018-05-27 16:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-26 23:54 [PATCH] test: fix hardcoded paths in T050-new.sh David Bremner
2018-05-27 16:11 ` Tomi Ollila [this message]
2018-05-27 21:59 ` David Bremner
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=m2lgc5krit.fsf@guru.guru-group.fi \
--to=tomi.ollila@iki.fi \
--cc=david@tethera.net \
--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).