summaryrefslogtreecommitdiff
path: root/tests/test_fgets.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_fgets.c')
-rw-r--r--tests/test_fgets.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/test_fgets.c b/tests/test_fgets.c
deleted file mode 100644
index f01d7c6..0000000
--- a/tests/test_fgets.c
+++ /dev/null
@@ -1,15 +0,0 @@
1#include "common.h"
2
3#define _GNU_SOURCE
4#include <poll.h>
5
6int main(int argc, char** argv) {
7 char buffer[12] = {0};
8
9 CHK_FAIL_START
10 fgets(buffer, 14, NULL);
11 CHK_FAIL_END
12
13 puts(buffer);
14 return ret;
15}