Whamcloud - gitweb
import libsysio for b_newsysio
[fs/lustre-release.git] / libsysio / tests / test_copy.c
index bda0bd2..9ac97b1 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
-#ifndef REDSTORM
-#include <getopt.h>
-#endif
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <sys/uio.h>
 #include <sys/queue.h>
 
-#include "sysio.h"
-#include "mount.h"
-
-#include "fs_native.h"
-
+#include "xtio.h"
 #include "test.h"
 
 /*
@@ -81,7 +75,6 @@ main(int argc, char * const argv[])
        int     i;
        int     err;
        const char *spath, *dpath;
-       extern int _test_sysio_startup(void);
 
        /*
         * Parse command-line args.
@@ -123,7 +116,7 @@ main(int argc, char * const argv[])
 
        err = copy_file(spath, dpath);
 
-       _sysio_shutdown();
+       _test_sysio_shutdown();
 
        return err;
 }