aboutsummaryrefslogtreecommitdiff
path: root/test/functional/fixtures
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-01 22:56:41 -0700
committerGitHub <noreply@github.com>2019-09-01 22:56:41 -0700
commit099445cc07b0154edc6ecd562a28e86c87c0096b (patch)
treebb539bd3877fc0545b1c7db13039b357477e5758 /test/functional/fixtures
parent7bb029eeef65f57d94cef4e4b709e6c3ebefcf08 (diff)
parentead39d6ce6d1c5e5b6130c6823d071889c207bde (diff)
downloadrneovim-099445cc07b0154edc6ecd562a28e86c87c0096b.tar.gz
rneovim-099445cc07b0154edc6ecd562a28e86c87c0096b.tar.bz2
rneovim-099445cc07b0154edc6ecd562a28e86c87c0096b.zip
Merge #10804 'CI/OpenBSD: functional tests'
Diffstat (limited to 'test/functional/fixtures')
-rw-r--r--test/functional/fixtures/shell-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/fixtures/shell-test.c b/test/functional/fixtures/shell-test.c
index a221a31bde..b95e563932 100644
--- a/test/functional/fixtures/shell-test.c
+++ b/test/functional/fixtures/shell-test.c
@@ -13,7 +13,7 @@
static void flush_wait(void)
{
- fflush(stdout);
+ fflush(NULL);
usleep(10*1000); // Wait 10 ms.
}
@@ -78,10 +78,10 @@ int main(int argc, char **argv)
}
for (int i = 0; i < count; i++) {
printf("%d: %s\n", i, argv[3]);
- fflush(stdout);
if (i % 100 == 0) {
usleep(1000); // Wait 1 ms (simulate typical output).
}
+ fflush(NULL);
}
} else if (strcmp(argv[1], "UTF-8") == 0) {
// test split-up UTF-8 sequence
@@ -126,7 +126,7 @@ int main(int argc, char **argv)
fprintf(stderr, "Unknown first argument: %s\n", argv[1]);
return 3;
}
- fflush(stdout);
+ fflush(NULL);
return 0;
} else if (argc == 1) {
fprintf(stderr, "ready $ ");