diff options
author | 2008-11-11 08:23:51 +0000 | |
---|---|---|
committer | 2008-11-11 08:23:51 +0000 | |
commit | d3953761f66476d7a0e6a38ede57661b4d190589 (patch) | |
tree | fe376d0a19f6c0633221f70c7a4fc0db7b025c26 /tests/utime-0.c | |
parent | move build flags to configure rather than Makefile (diff) | |
download | sandbox-d3953761f66476d7a0e6a38ede57661b4d190589.tar.gz sandbox-d3953761f66476d7a0e6a38ede57661b4d190589.tar.bz2 sandbox-d3953761f66476d7a0e6a38ede57661b4d190589.zip |
tests: initial test framework
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests/utime-0.c')
-rw-r--r-- | tests/utime-0.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/utime-0.c b/tests/utime-0.c new file mode 100644 index 0000000..6a51007 --- /dev/null +++ b/tests/utime-0.c @@ -0,0 +1,15 @@ +#define FUNC utime +#define SFUNC "utime" +#define FUNC_STR "\"%s\", %p" +#define FUNC_IMP file, times +#define ARG_CNT 2 +#define ARG_USE "<file> <times:=NULL>" + +#define process_args() \ + s = argv[i++]; \ + char *file = s; \ + \ + s = argv[i++]; \ + const struct utimbuf *times = NULL; + +#include "test-skel-0.c" |