aboutsummaryrefslogtreecommitdiffstats
path: root/tests/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exec.c')
-rw-r--r--tests/exec.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/exec.c b/tests/exec.c
new file mode 100644
index 0000000..f9705d1
--- /dev/null
+++ b/tests/exec.c
@@ -0,0 +1,7 @@
+#include <unistd.h>
+
+int
+main(void)
+{
+ return execlp("printf", "printf", "hello world\n", NULL);
+}