diff options
Diffstat (limited to 'tests/test_file_io.sh')
| -rw-r--r-- | tests/test_file_io.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/test_file_io.sh b/tests/test_file_io.sh deleted file mode 100644 index 07a335e..0000000 --- a/tests/test_file_io.sh +++ /dev/null @@ -1,31 +0,0 @@ -cat <<'EOF' > input -foo -bar -baz -EOF -cat <<'EOF' > expected -foo -foo -bar -bar -baz -baz -EOF -test_diff hoge piyo fuga<<'EOF' -struct FILE; -typedef struct FILE FILE; -extern FILE* stdin; -extern FILE* stdout; -int fprintf(); -char* fgets(); -void* calloc(); - -int main() { - char* buf = calloc(256, sizeof(char)); - while (fgets(buf, 256, stdin)) { - fprintf(stdout, "%s%s", buf, buf); - } - return 0; -} -EOF - |
