aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-11 08:23:51 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-11 08:23:51 +0000
commitd3953761f66476d7a0e6a38ede57661b4d190589 (patch)
treefe376d0a19f6c0633221f70c7a4fc0db7b025c26 /tests/unlink-0.c
parentmove build flags to configure rather than Makefile (diff)
downloadsandbox-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/unlink-0.c')
-rw-r--r--tests/unlink-0.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/unlink-0.c b/tests/unlink-0.c
new file mode 100644
index 0000000..2afb7dc
--- /dev/null
+++ b/tests/unlink-0.c
@@ -0,0 +1,12 @@
+#define FUNC unlink
+#define SFUNC "unlink"
+#define FUNC_STR "\"%s\""
+#define FUNC_IMP path
+#define ARG_CNT 1
+#define ARG_USE "<path>"
+
+#define process_args() \
+ s = argv[i++]; \
+ char *path = s;
+
+#include "test-skel-0.c"