unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob e6e1d6c37d4adc4070c925a4a7a88669ab2f8f5f 265 bytes (raw)
name: test/notmuch-test.h 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
#ifndef _NOTMUCH_TEST_H
#define _NOTMUCH_TEST_H
#include <stdio.h>
#include <notmuch.h>

void expect0(int line, notmuch_status_t ret)
{
   if (ret) {
	fprintf (stderr, "line %d: %s\n", line, ret);
	exit (1);
   }
}

#define EXPECT0(v)  expect0(__LINE__, v);
#endif

debug log:

solving e6e1d6c ...
found e6e1d6c in https://yhetil.org/notmuch/1465043356-23420-3-git-send-email-david@tethera.net/

applying [1/1] https://yhetil.org/notmuch/1465043356-23420-3-git-send-email-david@tethera.net/
diff --git a/test/notmuch-test.h b/test/notmuch-test.h
new file mode 100644
index 0000000..e6e1d6c

Checking patch test/notmuch-test.h...
Applied patch test/notmuch-test.h cleanly.

index at:
100644 e6e1d6c37d4adc4070c925a4a7a88669ab2f8f5f	test/notmuch-test.h

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).