summaryrefslogtreecommitdiff
path: root/test/checklinks
diff options
context:
space:
mode:
Diffstat (limited to 'test/checklinks')
-rw-r--r--test/checklinks5
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 ]]