mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
*** empty log message ***
This commit is contained in:
1 parent
567e58cd2d
commit
91bc10f713
2 files changed
+9
-1
No files matched your search
@@ -8,6 +8,9 @@
|
||||
Reported by Jeff Sheinberg as Debian bug #211591;
|
||||
http://bugs.debian.org/205251
|
||||
|
||||
* tests/du/deref-args: New file/test for the above.
|
||||
* tests/du/Makefile.am (TESTS): Add deref-args.
|
||||
|
||||
* src/du.c (process_file): Remove useless disjunct.
|
||||
|
||||
* src/sys2.h (case_GETOPT_VERSION_CHAR): Rename parameter, Authors,
|
||||
|
||||
+6
-1
@@ -15,7 +15,7 @@ trap '(exit $?); exit $?' 1 2 13 15
|
||||
framework_failure=0
|
||||
mkdir -p $tmp || framework_failure=1
|
||||
cd $tmp || framework_failure=1
|
||||
mkdir -p dir/a/b
|
||||
mkdir -p dir/a
|
||||
ln -s dir slink
|
||||
|
||||
if test $framework_failure = 1; then
|
||||
@@ -26,8 +26,13 @@ fi
|
||||
fail=0
|
||||
|
||||
du -D slink | sed 's/^[0-9][0-9]* //' > out
|
||||
# Ensure that the trailing slash is preserved and handled properly.
|
||||
du -D slink/ | sed 's/^[0-9][0-9]* //' >> out
|
||||
cat <<\EOF > exp
|
||||
slink/a
|
||||
slink
|
||||
slink/a
|
||||
slink/
|
||||
EOF
|
||||
|
||||
cmp out exp || fail=1
|
||||
|
||||
Reference in new issue
Block a user