summaryrefslogtreecommitdiff
path: root/tests/du
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2012-10-25 13:41:45 +0200
committerJim Meyering <jim@meyering.net>2012-10-25 14:19:55 +0200
commit77179e4abec6ee5dc6b514d592b6de4359edb93a (patch)
treec90fe51cbd7907bb3b10a96bae5117eeebf270f2 /tests/du
parent0e3294131570837cba068a01ebcea10bdedd67b9 (diff)
downloadcoreutils-77179e4abec6ee5dc6b514d592b6de4359edb93a.tar.xz
maint: remove an obsolete test comment
* tests/du/bind-mount-dir-cycle.sh: Remove obsolete comment spotted by Gilles Espinasse.
Diffstat (limited to 'tests/du')
-rwxr-xr-xtests/du/bind-mount-dir-cycle.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/du/bind-mount-dir-cycle.sh b/tests/du/bind-mount-dir-cycle.sh
index d8d381afe..92b477358 100755
--- a/tests/du/bind-mount-dir-cycle.sh
+++ b/tests/du/bind-mount-dir-cycle.sh
@@ -20,13 +20,7 @@
print_ver_ du
require_root_
-cleanup_()
-{
- # When you take the undesirable shortcut of making /etc/mtab a link
- # to /proc/mounts, unmounting "$other_partition_tmpdir" would fail.
- # So, here we unmount a/b instead.
- umount a/b
-}
+cleanup_() { umount a/b; }
mkdir -p a/b || framework_failure_
mount --bind a a/b \