diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/du/bind-mount-dir-cycle.sh | 8 |
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 \ |