From 9e6a709ee2f52a67a8af292c5db1af077f4096a3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 4 Jul 2009 00:43:16 +0200 Subject: Added test for checklinks --remove --- test/checklinks | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/checklinks') 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 ]] -- cgit v1.2.3