summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2012-06-22 09:32:34 +0100
committerPádraig Brady <P@draigBrady.com>2012-06-22 11:34:21 +0100
commitae5846448f73d90ba9bd01cc9edc94bc0b168e46 (patch)
tree86d73149007b304586c0d8604ab39d0436528089 /tests/Makefile.am
parent30a604e631291b80b9812e03e0f325489ae0d77e (diff)
downloadcoreutils-ae5846448f73d90ba9bd01cc9edc94bc0b168e46.tar.xz
split: ensure output doesn't overwrite input
* src/split.c (create): Check if output file is the same inode as the input file. * tests/split/guard-input: New test case. * tests/Makefile.am: Reference new test case. * NEWS: Mention the fix. Improved-by: Jim Meyering Reported-by: François Pinard
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index d8bc93020..2155cee83 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -268,6 +268,7 @@ TESTS = \
split/l-chunk \
split/r-chunk \
split/numeric \
+ split/guard-input \
misc/stat-birthtime \
misc/stat-fmt \
misc/stat-hyphen \