summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/tests/netapitest.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-31 15:46:28 +0100
committerGünther Deschner <gd@samba.org>2009-02-06 11:10:36 +0100
commit1609dbaf88a22bcab75fa490ec632d846a1b5f5a (patch)
treee067d05f3041284b372132ac3a0415f55c67ab77 /source3/lib/netapi/tests/netapitest.c
parent7fa534bd7c55be91a7ad209e1271a69163256288 (diff)
downloadsamba-1609dbaf88a22bcab75fa490ec632d846a1b5f5a.tar.gz
samba-1609dbaf88a22bcab75fa490ec632d846a1b5f5a.tar.bz2
samba-1609dbaf88a22bcab75fa490ec632d846a1b5f5a.zip
netapi: add NetServer testsuite.
Guenther
Diffstat (limited to 'source3/lib/netapi/tests/netapitest.c')
-rw-r--r--source3/lib/netapi/tests/netapitest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/netapi/tests/netapitest.c b/source3/lib/netapi/tests/netapitest.c
index 4a38f721d8..00e5b2ae40 100644
--- a/source3/lib/netapi/tests/netapitest.c
+++ b/source3/lib/netapi/tests/netapitest.c
@@ -89,6 +89,11 @@ int main(int argc, const char **argv)
goto out;
}
+ status = netapitest_server(ctx, hostname);
+ if (status) {
+ goto out;
+ }
+
out:
if (status != 0) {
printf("testsuite failed with: %s\n",