summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-01-08 17:44:55 +0100
committerJim Meyering <meyering@redhat.com>2011-01-10 07:49:55 +0100
commit1c5987d2effdfae93362fcc4575c8ca4057740fc (patch)
tree370a04cf2fbf018b89cf1e02d81ed2bcf37e6759 /tests/Makefile.am
parentd5d283dbc9ae8d727470975bc8fdd3371468cbdf (diff)
downloadcoreutils-1c5987d2effdfae93362fcc4575c8ca4057740fc.tar.xz
du: don't abort when a subdir is renamed during traversal
* NEWS (Bug fixes): Mention it. * src/du.c (prev_level): Move declaration "up" to file-scope global. (du_files): Reset prev_level to 0 upon abnormal fts_read termination. Reported by Johathan Nieder in http://bugs.debian.org/609049 Also, improve a diagnostic. * tests/du/move-dir-while-traversing: Test for the above. * tests/Makefile.am (TESTS): Add it.
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 06d81f06f..a5dbd3e05 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -370,6 +370,7 @@ TESTS = \
du/long-from-unreadable \
du/long-sloop \
du/max-depth \
+ du/move-dir-while-traversing \
du/no-deref \
du/no-x \
du/one-file-system \