summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/tests/netapitest.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-12 17:24:37 +0200
committerGünther Deschner <gd@samba.org>2008-09-22 19:36:53 +0200
commitb47953ea105a04a3d62259f1cbf5aea2f7910173 (patch)
tree639024c1c98167f27baa1ad70bbc8e29ab085bd6 /source3/lib/netapi/tests/netapitest.c
parentba58d17e6981dcf6775c1706ff21afa6c5849ede (diff)
downloadsamba-b47953ea105a04a3d62259f1cbf5aea2f7910173.tar.gz
samba-b47953ea105a04a3d62259f1cbf5aea2f7910173.tar.bz2
samba-b47953ea105a04a3d62259f1cbf5aea2f7910173.zip
netapi: add NetFile 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 87144020f5..4a38f721d8 100644
--- a/source3/lib/netapi/tests/netapitest.c
+++ b/source3/lib/netapi/tests/netapitest.c
@@ -84,6 +84,11 @@ int main(int argc, const char **argv)
goto out;
}
+ status = netapitest_file(ctx, hostname);
+ if (status) {
+ goto out;
+ }
+
out:
if (status != 0) {
printf("testsuite failed with: %s\n",