nfs-ganesha 1.4
Defines | Functions

test_mnt_proto.c File Reference

Tests for testing the mount protocol routines. More...

#include <stdio.h>
#include <string.h>
#include <pthread.h>
#include <fcntl.h>
#include <sys/file.h>
#include <sys/socket.h>
#include "HashData.h"
#include "HashTable.h"
#include "log.h"
#include "ganesha_rpc.h"
#include "nfs23.h"
#include "nfs4.h"
#include "mount.h"
#include "nfs_core.h"
#include "cache_inode.h"
#include "nfs_exports.h"
#include "nfs_creds.h"
#include "nfs_proto_functions.h"
#include "nfs_tools.h"

Go to the source code of this file.

Defines

#define NB_EXPORT_ENTRIES   5
#define Maketest(func, name)

Functions

void print_export_list (exports export_list)
int test_mnt_Null ()
int test_mnt_Export ()
int main (int argc, char **argv)

Detailed Description

Tests for testing the mount protocol routines.

Author:
Author:
deniel
Date:
Date:
2005/12/20 10:52:15
Version:
Revision:
1.8

Definition in file test_mnt_proto.c.


Define Documentation

#define Maketest (   func,
  name 
)
Value:
do {                      \
  int rc;                                             \
  LogTest("\n======== TEST %s =========",name);    \
  rc = func();                                        \
  if (rc)                                             \
    LogTest("\n-------- %s : %d ---------",name,rc); \
  else                                                \
    LogTest("\n-------- %s : OK ---------",name); \
  } while (0)

Definition at line 265 of file test_mnt_proto.c.

#define NB_EXPORT_ENTRIES   5

Definition at line 112 of file test_mnt_proto.c.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 275 of file test_mnt_proto.c.

void print_export_list ( exports  export_list)

Definition at line 64 of file test_mnt_proto.c.

int test_mnt_Export ( )

Definition at line 113 of file test_mnt_proto.c.

int test_mnt_Null ( )

Definition at line 91 of file test_mnt_proto.c.