summaryrefslogtreecommitdiff
path: root/tests/cp/Makefile.am
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-08-27 19:41:04 +0000
committerJim Meyering <jim@meyering.net>2006-08-27 19:41:04 +0000
commit520a954d7e8823a4c385c662b3b571ae53f125ea (patch)
treed62505143c782bebd736615f4d44a27db01e0694 /tests/cp/Makefile.am
parent07446625096ddeb9246fb36572d5fe644f56cd1f (diff)
downloadcoreutils-520a954d7e8823a4c385c662b3b571ae53f125ea.tar.xz
* src/copy.c (copy_internal): Don't make a backup if the last
component of the source name is "." or "..". Reported by Andreas Schwab in https://savannah.gnu.org/bugs/?17540. * tests/cp/src-base-dot: New file. Test for the above fix. * tests/cp/Makefile.am (TESTS): Add src-base-dot.
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 5b4c23606..dd758404f 100644
--- a/tests/cp/Makefile.am
+++ b/tests/cp/Makefile.am
@@ -21,6 +21,7 @@
AUTOMAKE_OPTIONS = 1.1 gnits
TESTS = \
+ src-base-dot \
sparse \
link-no-deref \
cp-deref \