summaryrefslogtreecommitdiff
path: root/tests/libc/test_exit.c
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-07-14 17:42:55 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-07-14 17:42:55 +0200
commitfb241939606d3cab1a389b385a0be3bca9a9c6ab (patch)
treee1c163cd8411830259e05d9ea69f88d530c749f0 /tests/libc/test_exit.c
parent2ff50537d6b01e695f53d7fcdf93d3b08dda2e36 (diff)
downloadabaos-fb241939606d3cab1a389b385a0be3bca9a9c6ab.tar.gz
abaos-fb241939606d3cab1a389b385a0be3bca9a9c6ab.tar.bz2
testing exit, not abort in libc tests
Diffstat (limited to 'tests/libc/test_exit.c')
-rw-r--r--tests/libc/test_exit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/libc/test_exit.c b/tests/libc/test_exit.c
new file mode 100644
index 0000000..3974da9
--- /dev/null
+++ b/tests/libc/test_exit.c
@@ -0,0 +1,6 @@
+#include "stdlib.h"
+
+int main( void )
+{
+ exit( 0 );
+}