aboutsummaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-01-10 04:12:34 +0000
committerChristian Grothoff <christian@grothoff.org>2007-01-10 04:12:34 +0000
commit1eecc125a9fad0676ddf0d58ce939e77787dfd17 (patch)
tree9cb574185b60e7b1bb16c852c56e7b7bcac01ca3 /src/daemon
parent16d0362f4f0ca069d4c5d7409ff402efbbd1d7b9 (diff)
downloadlibmicrohttpd-1eecc125a9fad0676ddf0d58ce939e77787dfd17.tar.gz
libmicrohttpd-1eecc125a9fad0676ddf0d58ce939e77787dfd17.zip
more
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/Makefile.am10
-rw-r--r--src/daemon/daemontest.c34
2 files changed, 40 insertions, 4 deletions
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
index fcc2c495..fb9b098e 100644
--- a/src/daemon/Makefile.am
+++ b/src/daemon/Makefile.am
@@ -16,11 +16,13 @@ libmicrohttpd_la_SOURCES = \
16if HAVE_CURL 16if HAVE_CURL
17 17
18check_PROGRAMS = \ 18check_PROGRAMS = \
19 testdaemon 19 daemontest
20 20
21test_daemon_SOURCES = \ 21TESTS = $(check_PROGRAMS)
22 testdaemon.c 22
23test_daemon_LDADD = \ 23daemontest_SOURCES = \
24 daemontest.c
25daemontest_LDADD = \
24 $(top_builddir)/src/daemon/libmicrohttpd.la \ 26 $(top_builddir)/src/daemon/libmicrohttpd.la \
25 @LIBCURL@ 27 @LIBCURL@
26 28
diff --git a/src/daemon/daemontest.c b/src/daemon/daemontest.c
new file mode 100644
index 00000000..1b36e64f
--- /dev/null
+++ b/src/daemon/daemontest.c
@@ -0,0 +1,34 @@
1/*
2 This file is part of libmicrohttpd
3 (C) 2007 YOUR NAME HERE
4
5 libmicrohttpd is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published
7 by the Free Software Foundation; either version 2, or (at your
8 option) any later version.
9
10 libmicrohttpd is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with libmicrohttpd; see the file COPYING. If not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
19*/
20
21/**
22 * @file daemontest.c
23 * @brief Testcase for libmicrohttpd
24 * @author FIXME
25 */
26
27#include "config.h"
28#include "microhttpd.h"
29
30
31int main(int argc,
32 char * const * argv) {
33 return 0; /* 0 == pass */
34}