summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-04 00:43:16 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-04 00:43:16 +0200
commit9e6a709ee2f52a67a8af292c5db1af077f4096a3 (patch)
tree22b603962909b17fe723355087e6f13eef5464b3 /test
parentbb3b7e2b1571776e8c27111ea11f64a765e93569 (diff)
Added test for checklinks --remove
Diffstat (limited to 'test')
-rw-r--r--test/checklinks7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/checklinks b/test/checklinks
index 7b50c59..00b3da3 100644
--- a/test/checklinks
+++ b/test/checklinks
@@ -18,3 +18,10 @@ checklinks
[[ $(cat foo) == $(cat bar) ]]
[[ $(cat link) == $(cat file) ]]
[[ $(cat blub) == $(cat flurbl) ]]
+
+checklinks --remove
+[[ -e bar ]]
+[[ ! -e link ]]
+[[ -e file ]]
+[[ ! -e blub ]]
+[[ -e flurbl ]]