mirror of
https://https.git.savannah.gnu.org/git/patch.git
synced 2026-01-27 01:44:34 +00:00
Check the result of the --follow-symlinks option
* tests/symlinks: Check the result of treating a symlink as a file with --follow-symlinks.
This commit is contained in:
parent
8a9f5432d4
commit
ddf16e1209
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user