diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-06-24 15:34:39 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-06-25 09:55:12 +0100 |
commit | d71c12f1e4e165c7da59989b49ded2805b7977cc (patch) | |
tree | 51dc1d73c2d81c7d28feddc6fe6c535fca829897 /tests/local.mk | |
parent | 828801a174de8fa6e492f311210c37394f13b30f (diff) | |
download | coreutils-d71c12f1e4e165c7da59989b49ded2805b7977cc.tar.xz |
df: report correct device in presence of eclipsed mounts
* src/df.c (last_device_for_mount): A new function to identify
the last device mounted for a mount point.
(get_disk): Use the above to discard mount entries for a device,
where a later mount entry uses a different device name than
that of the user specified device.
* tests/df/over-mount-device.sh: A new root test.
* tests/local.mk: Reference the new test.
* NEWS: Reword for all these related recent fixes.
Discussed at: http://bugs.gnu.org/16539#69
Diffstat (limited to 'tests/local.mk')
-rw-r--r-- | tests/local.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/local.mk b/tests/local.mk index cd7da5b2f..86050dc79 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -115,6 +115,7 @@ all_root_tests = \ tests/cp/sparse-fiemap.sh \ tests/dd/skip-seek-past-dev.sh \ tests/df/problematic-chars.sh \ + tests/df/over-mount-device.sh \ tests/du/bind-mount-dir-cycle.sh \ tests/id/setgid.sh \ tests/install/install-C-root.sh \ |