diff options
| author | David Bremner <david@tethera.net> | 2021-03-18 22:58:02 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-03-18 22:58:02 -0300 |
| commit | a9f74aeeb9ade477d5b80c1c2700945d6c50adb1 (patch) | |
| tree | 633ba076d59bd991c3f66311cbaf2dfbb291d105 /test | |
| parent | 7d286f0272feb08aea8c1bee0b0ec6cd9766aee7 (diff) | |
CLI/new: drop the write lock to run the pre-new hook.
This fixes a bug reported in [1]. In principle it could be possible
avoid one of these reopens, but it complicates the logic in main with
respect to creating new databases.
[1]: id:9C1993DF-84BD-4199-A9C8-BADA98498812@bubblegen.co.uk
Diffstat (limited to 'test')
| -rwxr-xr-x | test/T400-hooks.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/T400-hooks.sh b/test/T400-hooks.sh index a2b67d59..de8e4ba4 100755 --- a/test/T400-hooks.sh +++ b/test/T400-hooks.sh @@ -159,7 +159,6 @@ EOF test_expect_equal_file write.expected write.output test_begin_subtest "pre-new with write access [${config}]" - test_subtest_known_broken rm -rf ${HOOK_DIR} create_write_hook "pre-new" write.expected write.output $HOOK_DIR NOTMUCH_NEW |
