^D I've found that mhical wasn't happy about an empty input.
A trivial patch that should fix this issue.
check "$expected_err" "$actual_err"
check "$expected_err" "$actual_err"
+# check null input
+start_test "null input"
+check_exit '-eq 0' mhical </dev/null
+
+
}
/* Don't call on the END:VCALENDAR line. */
}
/* Don't call on the END:VCALENDAR line. */
+ if (clines && clines->next) {
(void) fmt_scan (fmt, buffer, INT_MAX, dat, NULL);
fputs (charstring_buffer (buffer), file);
fmt_free (fmt, 1);
(void) fmt_scan (fmt, buffer, INT_MAX, dat, NULL);
fputs (charstring_buffer (buffer), file);
fmt_free (fmt, 1);