mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
test: fix hardcoded paths in T050-new.sh
The previous paths will fail almost everywhere.
This commit is contained in:
parent
337b6cd790
commit
46cf1a98f3
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue