summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-06-17 12:57:46 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-06-17 12:57:46 +0200
commit92c9e97e3f9ebe5cf6218611342757ee416743cb (patch)
tree2ba80312ade3bc21715c887c4fd95245396c98fc /test
parent2214f8dcceb171f22ba8e0ff8dadf9f801b07951 (diff)
Added documentation tests
Diffstat (limited to 'test')
-rw-r--r--test/documentation7
-rwxr-xr-xtest/main2
2 files changed, 9 insertions, 0 deletions
diff --git a/test/documentation b/test/documentation
new file mode 100644
index 0000000..61bffa0
--- /dev/null
+++ b/test/documentation
@@ -0,0 +1,7 @@
+## vim:ft=zsh
+alias podchecker='podchecker -warnings -warnings'
+echo "# Documentation"
+podchecker bin/checklinks
+for file in man/*/*; {
+ podchecker $file
+}
diff --git a/test/main b/test/main
index 56e6e8d..c572fbc 100755
--- a/test/main
+++ b/test/main
@@ -4,6 +4,8 @@ setopt err_exit
trap "print -P '\n%N:%i: %B%F{red}Test faild!%F{default}%b'" ZERR
+source test/documentation
+
function stringcmp {
diff -u <(echo $1) <(echo $2)
}