summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-01 16:28:01 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-01 16:28:01 -0500
commitfb6962e856a3d2db72053bad60d16aeffd50e072 (patch)
treedffc8b21c75e7ddda0ae90a674cbe01fc407cccc /test
parent1a8c525d7fb3c00c373a80a40306e32221836362 (diff)
downloaddeheader-fb6962e856a3d2db72053bad60d16aeffd50e072.tar.gz
deheader-fb6962e856a3d2db72053bad60d16aeffd50e072.tar.bz2
deheader-fb6962e856a3d2db72053bad60d16aeffd50e072.tar.xz
deheader-fb6962e856a3d2db72053bad60d16aeffd50e072.zip
Add documentation, the beginnings of a test suite, a logo, an shipper control.
Diffstat (limited to 'test')
-rw-r--r--test/README2
-rw-r--r--test/noheaders.c5
-rw-r--r--test/regress.chk1
-rw-r--r--test/string.c6
4 files changed, 14 insertions, 0 deletions
diff --git a/test/README b/test/README
new file mode 100644
index 0000000..215687e
--- /dev/null
+++ b/test/README
@@ -0,0 +1,2 @@
+This directory contains C sourcfiles intended to terst deheder, and
+a check against which to compare tthe output.
diff --git a/test/noheaders.c b/test/noheaders.c
new file mode 100644
index 0000000..d245179
--- /dev/null
+++ b/test/noheaders.c
@@ -0,0 +1,5 @@
+/* this filre has no headers and needs none */
+
+main(int arg, char **argv)
+{
+}
diff --git a/test/regress.chk b/test/regress.chk
new file mode 100644
index 0000000..ecff26c
--- /dev/null
+++ b/test/regress.chk
@@ -0,0 +1 @@
+deheader: remove <string.h> from test/string.c
diff --git a/test/string.c b/test/string.c
new file mode 100644
index 0000000..3f75878
--- /dev/null
+++ b/test/string.c
@@ -0,0 +1,6 @@
+/* this file has string.h but doesn't need it */
+
+#include <string.h>
+main(int arg, char **argv)
+{
+}