Whamcloud - gitweb
b=15870
[fs/lustre-release.git] / lustre / liblustre / tests / test_common.h
index 73fe391..5949a42 100644 (file)
@@ -8,6 +8,8 @@
 
 extern int exit_on_err;
 
+#include <utime.h> /* for utimbuf */
+
 void t_touch(const char *path);
 void t_create(const char *path);
 void t_link(const char *src, const char *dst);
@@ -21,6 +23,8 @@ void t_chmod(const char *path, const char *format, ...);
 void t_rename(const char *oldpath, const char *newpath);
 int t_open_readonly(const char *path);
 int t_open(const char *path);
+int t_chdir(const char *path);
+int t_utime(const char *path, const struct utimbuf *buf);
 int t_opendir(const char *path);
 void t_close(int fd);
 int t_check_stat(const char *name, struct stat *buf);
@@ -29,6 +33,7 @@ void t_echo_create(const char *path, const char *str);
 void t_grep(const char *path, char *str);
 void t_grep_v(const char *path, char *str);
 void t_ls(int fd, char *buf, int size);
+int t_fcntl(int fd, int cmd, ...);
 
 char *safe_strncpy(char *dst, char *src, int max_size);