summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Makefile1
-rw-r--r--test/silly/.cvsignore2
-rw-r--r--test/silly/tiny.c8
3 files changed, 11 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index ebc60523d..6f6d06fd7 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -27,6 +27,7 @@ tags:
ctags -R
clean: subdirs_clean
+ rm -f *.[oa] *~ core
subdirs: $(patsubst %, _dir_%, $(DIRS))
subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS))
diff --git a/test/silly/.cvsignore b/test/silly/.cvsignore
index c6e0c6f72..e4f16bb13 100644
--- a/test/silly/.cvsignore
+++ b/test/silly/.cvsignore
@@ -2,3 +2,5 @@ hello
hello.o
hello_glibc
hello_glibc.o
+tiny
+tiny.o
diff --git a/test/silly/tiny.c b/test/silly/tiny.c
new file mode 100644
index 000000000..cbf8b1643
--- /dev/null
+++ b/test/silly/tiny.c
@@ -0,0 +1,8 @@
+#include <stdlib.h>
+#include <unistd.h>
+
+int main(void)
+{
+ write(1,"hello world\n",12);
+ exit(42);
+}