summaryrefslogtreecommitdiffstats
path: root/src/tests/test_fileutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_fileutils.c')
-rw-r--r--src/tests/test_fileutils.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tests/test_fileutils.c b/src/tests/test_fileutils.c
new file mode 100644
index 0000000..ebfc5e2
--- /dev/null
+++ b/src/tests/test_fileutils.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include "fileutils.h"
+
+int main(int argc, char *argv[])
+{
+ atexit(close_stdout);
+ printf("Hello, World!\n");
+ return EXIT_SUCCESS;
+}