Previously we both found a database and returned a message saying that
the database could not be found (along with a success code). This
change should prevent spurious error output.
return NOTMUCH_STATUS_NO_DATABASE;
}
+ if (*message) {
+ free (*message);
+ *message = NULL;
+ }
+
return NOTMUCH_STATUS_SUCCESS;
}
;;
home_mail|maildir_env)
test_begin_subtest "No errors from config list ($config)"
- test_subtest_known_broken
notmuch config list 2>OUTPUT 1>/dev/null
test_expect_equal_file /dev/null OUTPUT
;;