nfs-ganesha 1.4

test_support.c

Go to the documentation of this file.
00001 /*
00002  * vim:expandtab:shiftwidth=8:tabstop=8:
00003  *
00004  * Copyright IBM  (2011)
00005  * contributor : Frank Filz  ffilz@us.ibm.com
00006  *
00007  *
00008  * This program is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 3 of the License, or (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00021  *
00022  * ---------------------------------------
00023  */
00024 #ifdef HAVE_CONFIG_H
00025 #include "config.h"
00026 #endif
00027 
00028 #include <pthread.h>
00029 #include "log.h"
00030 #include <errno.h>
00031 #include <stdlib.h>
00032 #include <sys/time.h>
00033 #include <unistd.h>
00034 #include <strings.h>
00035 #include <string.h>
00036 #include <malloc.h>
00037 #include "log.h"
00038 #include "ganesha_rpc.h"
00039 #include "nlm_list.h"
00040 #include "nlm_util.h"
00041 #include "nlm_async.h"
00042 #include "nfs_core.h"
00043 
00044 
00045 static char usage[] =
00046     "Usage :\n"
00047     "\ttest_support <test_name>\n\n"
00048     "\twhere <test_name> is:\n"
00049 
00050 int main(int argc, char **argv)
00051 {
00052   int rc;
00053 
00054   SetDefaultLogging("TEST");
00055   SetNamePgm("test_support");
00056   InitLogging();
00057 
00058   LogTest("%s", usage);
00059 
00060   return 0;
00061 }