diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2012-04-12 22:09:07 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruen@linbit.com> | 2012-04-17 16:48:19 +0200 |
commit | 5081f42226e1f0b7f748de8fc18d08fcfb5b1be5 (patch) | |
tree | 7ad3d367a9cbf497f832f0b778efd697bab151c8 /tests/symlinks | |
parent | 9ff0689857ddaf5fe69e9f94ac0342c6ee5a3b6c (diff) | |
download | patch-5081f42226e1f0b7f748de8fc18d08fcfb5b1be5.tar.gz |
Remove invalid symlink test case
* tests/symlinks: Remove test case which deletes and then recreates a symlink:
all patches in a git-style input file must refer to the "before" state; the
test case is invalid.
Diffstat (limited to 'tests/symlinks')
-rw-r--r-- | tests/symlinks | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/symlinks b/tests/symlinks index 20a71dc..829bcbc 100644 --- a/tests/symlinks +++ b/tests/symlinks @@ -176,24 +176,3 @@ check 'echo b > symlink.orig && cat target2' <<EOF b EOF rm -f target2 - -# -------------------------------------------------------------- - -# Delete and then recreate the same symlink: make sure the original -# symlink is backed up - -ncheck 'ln -s target2 symlink' -rm -f symlink.orig - -check 'cat delete-symlink.diff create-symlink.diff | patch -p1 --backup || echo "Status: $?"' <<EOF -patching symbolic link symlink -patching symbolic link symlink -EOF - -check 'echo a > symlink.orig && cat target2' <<EOF -a -EOF -check 'echo b > symlink.orig && cat target2' <<EOF -b -EOF -rm -f target2 |