]> git.cworth.org Git - notmuch/commit
test: test folder renames
authorDavid Bremner <david@tethera.net>
Sun, 26 Dec 2021 16:20:44 +0000 (12:20 -0400)
committerDavid Bremner <david@tethera.net>
Sun, 26 Dec 2021 16:30:25 +0000 (12:30 -0400)
commit063f5e98620e2f2adeaa8b3313cdac85eb4ef4db
tree838fcd092eb928085bb41466e7b2f2739fb60f4b
parent02d8ff376d77e5d96389c30576221a7ac5b4bea1
test: test folder renames

In [1] Mark Walters reported a problem with messages being removed
from the database when the parent directory was renamed. Jani Nikula
proposed [2] these tests but observed

   This test is not suitable for merging since it's not deterministic.

After applying Jani's patch [3], the tests now pass deterministically,
and could usefully act as regression tests.

[1]: id:87siray6th.fsf@qmul.ac.uk
[2]: id:1393191650-28333-1-git-send-email-jani@nikula.org
[3]: id:1441445731-4362-2-git-send-email-jani@nikula.org
test/T051-new-renames.sh [new file with mode: 0755]