diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-04 00:43:16 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-04 00:43:16 +0200 |
commit | 9e6a709ee2f52a67a8af292c5db1af077f4096a3 (patch) | |
tree | 22b603962909b17fe723355087e6f13eef5464b3 /test | |
parent | bb3b7e2b1571776e8c27111ea11f64a765e93569 (diff) |
Added test for checklinks --remove
Diffstat (limited to 'test')
-rw-r--r-- | test/checklinks | 7 |
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 ]] |