diff options
author | Andreas Gruenbacher <agruen@gnu.org> | 2015-02-02 15:43:56 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruen@gnu.org> | 2015-02-02 15:43:56 +0100 |
commit | ddf16e120974fed883294fabbe2210384d754a07 (patch) | |
tree | 31b8af629f6ac903d75f9e2a0ce4281b67b22389 | |
parent | 8a9f5432d414c43027a8ac62df4e1bd80ca5324a (diff) | |
download | patch-ddf16e120974fed883294fabbe2210384d754a07.tar.gz |
Check the result of the --follow-symlinks option
* tests/symlinks: Check the result of treating a symlink as a file with
--follow-symlinks.
-rw-r--r-- | tests/symlinks | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/symlinks b/tests/symlinks index 36fbb1e..f93f1cc 100644 --- a/tests/symlinks +++ b/tests/symlinks @@ -59,6 +59,14 @@ check 'patch --follow-symlinks < modify.diff || echo "Status: $?"' <<EOF patching file l EOF +check 'cat f' <<EOF +one +EOF + +check 'cat l' <<EOF +two +EOF + # -------------------------------------------------------------- rm -f f l |