summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2014-08-29 15:17:57 +0200
committerQC <qball@gmpclient.org>2014-08-29 15:17:57 +0200
commit12258eb02bfe31dc825fc448e978627a8a741b7d (patch)
tree0040fb663d0f3f51de5ffde76e22b23da2ad101c /test
parent79e729bd370528547dfe9c06cf7cb0bca9f0339d (diff)
Try out small fake X server test.
Diffstat (limited to 'test')
-rw-r--r--test/history-test.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/history-test.c b/test/history-test.c
index 7d6f34f0..00e1e954 100644
--- a/test/history-test.c
+++ b/test/history-test.c
@@ -16,7 +16,7 @@ static int test = 0;
const char *file = "text";
-int main ( int argc, char **argv )
+void history_test()
{
unlink(file);
@@ -96,5 +96,11 @@ int main ( int argc, char **argv )
printf("Test %i passed\n", ++test);
+}
+
+int main ( int argc, char **argv )
+{
+ history_test();
+
return 0;
}