summaryrefslogtreecommitdiff
path: root/tests/cp/Makefile.am
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-06-10 14:56:39 +0200
committerJim Meyering <jim@meyering.net>2007-06-10 15:01:18 +0200
commitb1b0f5c556f5b4080bf16525c309264de73084b7 (patch)
treede1c561b0b228d0495a310358844ae6b87133599 /tests/cp/Makefile.am
parent6c95b3f2bf3edfa913a76f83da0c329f1bf0e1ea (diff)
downloadcoreutils-b1b0f5c556f5b4080bf16525c309264de73084b7.tar.xz
bug-fix: cp would fail to write through a dangling symlink
* NEWS: Mention the bug fix. * src/copy.c (copy_reg): When open fails with EEXIST, the destination is lstat'able, and a symlink, call open again, but now without O_EXCL. * tests/cp/thru-dangling: New file, to test for the above fix. * tests/cp/Makefile.am (TESTS): Add thru-dangling. * THANKS: Add Michael McLagan. Bug report from Michael McLagan in <http://bugzilla.redhat.com/243588>.
Diffstat (limited to 'tests/cp/Makefile.am')
-rw-r--r--tests/cp/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/cp/Makefile.am b/tests/cp/Makefile.am
index 536c0221d..52e876b08 100644
--- a/tests/cp/Makefile.am
+++ b/tests/cp/Makefile.am
@@ -18,6 +18,7 @@
# 02110-1301, USA.
TESTS = \
+ thru-dangling \
cp-a-selinux \
file-perm-race parent-perm-race \
backup-dir \