diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-05 16:13:55 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-05 16:13:55 +0200 |
commit | dbfc160ddaf3f61468aaad6b50a05103849aac0f (patch) | |
tree | 33469f79c50eec0c3c4121a02cb132c18cba8de6 /test | |
parent | cc60f3b86bc4a29d68852e02021fc719b22b5b2f (diff) |
checklinks: Fixed exit code
Diffstat (limited to 'test')
-rw-r--r-- | test/checklinks | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/checklinks b/test/checklinks index ce5c133..81a75e2 100644 --- a/test/checklinks +++ b/test/checklinks @@ -27,3 +27,8 @@ checklinks --remove [[ -e file ]] [[ ! -e blub ]] [[ -e flurbl ]] + +echo "# checklinks: link source exists already" +echo exists > link +! checklinks +[[ $(cat link) == exists ]] |