diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2017-01-11 02:19:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-11 02:19:11 +0100 |
| commit | a08d2f54a0bd8cb9b6a4072a6adcc7eeee4690c2 (patch) | |
| tree | ef535e346a41133994bd616bc5239a7d5c912955 /test/functional/fixtures | |
| parent | 15c85d8462ce1cf58a162caccb2911c51bec7455 (diff) | |
| parent | 9ecdce1d530aa2ae1db5982794f615050c3af05a (diff) | |
| download | rneovim-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.txt | 1 | ||||
| -rw-r--r-- | test/functional/fixtures/printargs-test.c | 9 |
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; +} |