diff options
author | Jim Meyering <meyering@redhat.com> | 2010-08-14 17:13:28 -0500 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-08-14 17:15:57 -0500 |
commit | 53de393ca335e77f22d3789100734c87868f12b3 (patch) | |
tree | ee89c725bed3856568395d3260d3ad33d40c5231 /tests/Makefile.am | |
parent | f2ad578b241713fa81d98b3573fa42397d2ea3f8 (diff) | |
download | diffutils-53de393ca335e77f22d3789100734c87868f12b3.tar.gz |
diff -r: avoid printing excess slashes in concatenated file names
* bootstrap.conf (gnulib_modules): Add filenamecat.
* src/diff.c: Include "filenamecat.h".
(compare_files): Use file_name_concat, rather than dir_file_pathname.
* src/util.c (dir_file_pathname): Remove now-unused function.
* src/diff.h: Remove its declaration.
* tests/excess-slash: New script to test for this.
* tests/Makefile.am (TESTS): Add it.
Forwarded by Santiago Vila from <bugs.debian.org/586301a>,
reported by Jari Aalto.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 242d501..190f16a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,7 +1,8 @@ -TESTS = \ +jESTS = \ basic \ binary \ colliding-file-names \ + excess-slash \ help-version \ function-line-vs-leading-space \ label-vs-func \ |