From dbfc160ddaf3f61468aaad6b50a05103849aac0f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 5 Jul 2009 16:13:55 +0200 Subject: checklinks: Fixed exit code --- test/checklinks | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') 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 ]] -- cgit v1.2.3