diff options
| author | David Bremner <david@tethera.net> | 2023-01-04 08:41:42 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-01-05 20:14:37 -0400 |
| commit | f4dc32e71b6fbaca933e0c7edd6d08b65feed0ec (patch) | |
| tree | c43e5d35452075ac355203622975d54cd03f2bf2 /test/T050-new.sh | |
| parent | 1d5d0ae68689e7b1d6b974e275f19371250c4b25 (diff) | |
test: mark some tests as broken when run as root.
File permission errors e.g., are hard to trigger as root.
Diffstat (limited to 'test/T050-new.sh')
| -rwxr-xr-x | test/T050-new.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/T050-new.sh b/test/T050-new.sh index cb67889c..240c1810 100755 --- a/test/T050-new.sh +++ b/test/T050-new.sh @@ -384,6 +384,7 @@ EOF test_expect_equal_file EXPECTED OUTPUT test_begin_subtest "Xapian exception: read only files" +test_subtest_broken_for_root chmod u-w ${MAIL_DIR}/.notmuch/xapian/*.* output=$(NOTMUCH_NEW --debug 2>&1 | sed 's/: .*$//' ) chmod u+w ${MAIL_DIR}/.notmuch/xapian/*.* |
