mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 01:14:53 +01:00
test/emacs: add known broken test for stashing duplicate filename
This duplicates (no pun intended) one of the bugs reported by Gregor in id:87edxw8jp4.fsf@no.workgroup
This commit is contained in:
parent
3a175ddffb
commit
2c7438fe51
1 changed files with 9 additions and 0 deletions
|
@ -350,6 +350,15 @@ file=$(notmuch search --output=files id:${ID3} | head -n 3 | tail -n 1)
|
|||
subject=$(grep '^Subject:' $file)
|
||||
test_expect_equal "$output" "$subject"
|
||||
|
||||
FILE3=$(notmuch search --output=files --duplicate=3 "id:${ID3}")
|
||||
test_begin_subtest "duplicate=3, stash"
|
||||
test_subtest_known_broken
|
||||
test_emacs_expect_t \
|
||||
"(notmuch-show \"id:${ID3}\")
|
||||
(notmuch-show-choose-duplicate 3)
|
||||
(notmuch-show-stash-filename)
|
||||
(notmuch-test-expect-equal (list (car kill-ring)) (list \"${FILE3}\"))"
|
||||
|
||||
test_begin_subtest "duplicate=0"
|
||||
test_emacs "(test-log-error
|
||||
(notmuch-show \"id:${ID3}\")
|
||||
|
|
Loading…
Reference in a new issue