aboutsummaryrefslogtreecommitdiff
path: root/test/functional/fixtures
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-01-11 02:19:11 +0100
committerGitHub <noreply@github.com>2017-01-11 02:19:11 +0100
commita08d2f54a0bd8cb9b6a4072a6adcc7eeee4690c2 (patch)
treeef535e346a41133994bd616bc5239a7d5c912955 /test/functional/fixtures
parent15c85d8462ce1cf58a162caccb2911c51bec7455 (diff)
parent9ecdce1d530aa2ae1db5982794f615050c3af05a (diff)
downloadrneovim-a08d2f54a0bd8cb9b6a4072a6adcc7eeee4690c2.tar.gz
rneovim-a08d2f54a0bd8cb9b6a4072a6adcc7eeee4690c2.tar.bz2
rneovim-a08d2f54a0bd8cb9b6a4072a6adcc7eeee4690c2.zip
Merge #5910 from justinmk/win32-jobstart
Windows: fix jobstart()
Diffstat (limited to 'test/functional/fixtures')
-rw-r--r--test/functional/fixtures/CMakeLists.txt1
-rw-r--r--test/functional/fixtures/printargs-test.c9
2 files changed, 10 insertions, 0 deletions
diff --git a/test/functional/fixtures/CMakeLists.txt b/test/functional/fixtures/CMakeLists.txt
index 70aee6efa9..8537ea390f 100644
--- a/test/functional/fixtures/CMakeLists.txt
+++ b/test/functional/fixtures/CMakeLists.txt
@@ -2,3 +2,4 @@ add_executable(tty-test tty-test.c)
target_link_libraries(tty-test ${LIBUV_LIBRARIES})
add_executable(shell-test shell-test.c)
+add_executable(printargs-test printargs-test.c)
diff --git a/test/functional/fixtures/printargs-test.c b/test/functional/fixtures/printargs-test.c
new file mode 100644
index 0000000000..2c25cf8447
--- /dev/null
+++ b/test/functional/fixtures/printargs-test.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+
+int main(int argc, char **argv)
+{
+ for (int i=1; i<argc; i++) {
+ printf("arg%d=%s;", i, argv[i]);
+ }
+ return 0;
+}