This reproduces the bug(s) reported in id:[email protected]
---
test/T055-path-config.sh | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/test/T055-path-config.sh b/test/T055-path-config.sh
index ef22e964..d6494b92 100755
--- a/test/T055-path-config.sh
+++ b/test/T055-path-config.sh
@@ -306,7 +306,24 @@ EOF
output2=$(notmuch --config='' config get ${key})
notmuch config set ${key}
test_expect_equal "${output}+${output2}" "${value}+"
- ;;
+ ;&
+ split)
+ test_begin_subtest "'to' header does not crash (python-cffi)
($config)"
+ test_subtest_known_broken
+ echo '[email protected]' > EXPECTED
+ test_python <<EOF
+import notmuch2
+db=notmuch2.Database()
+m=db.find('[email protected]')
+to=m.header('To')
+print(to)
+EOF
+ test_expect_equal_file EXPECTED OUTPUT
+ ;& # fall through
+ esac
+
+ case $config in
+ split|XDG*)
esac
restore_config
rm -rf home/.local
--
2.33.0
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]