diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-03 23:17:56 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-03 23:17:56 +0200 |
commit | bb3b7e2b1571776e8c27111ea11f64a765e93569 (patch) | |
tree | 927ee7e998417091bad59b6686e872561fd32472 /test/checklinks | |
parent | b05a76b412fb6fe8dbcc7f03a98e2ebcd2feb6e2 (diff) |
Added basic checklinks test
Diffstat (limited to 'test/checklinks')
-rw-r--r-- | test/checklinks | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/checklinks b/test/checklinks new file mode 100644 index 0000000..7b50c59 --- /dev/null +++ b/test/checklinks @@ -0,0 +1,20 @@ +## vim:ft=zsh + +cat > links <<- quux + foo ignored + # ignored + hard foo bar + soft link file + soft blub \$quux +quux + +alias checklinks='checklinks --parameter quux=flurbl' + +echo barbl > bar +echo flurbl > file +echo morp > flurbl + +checklinks +[[ $(cat foo) == $(cat bar) ]] +[[ $(cat link) == $(cat file) ]] +[[ $(cat blub) == $(cat flurbl) ]] |