summaryrefslogtreecommitdiff
path: root/tests/df
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-12-29 22:33:25 +0000
committerPádraig Brady <P@draigBrady.com>2014-12-30 02:21:47 +0000
commit974c355c595598a219785b6661bb6b030aaef4df (patch)
tree732f78fb9473ad56b0a485905c19cd31e442f7ff /tests/df
parentfe14d42ec93b25b244b2061fd1236911c0a5b0e1 (diff)
downloadcoreutils-974c355c595598a219785b6661bb6b030aaef4df.tar.xz
build: update to latest gnulib
Included in this are gnulib changes 3ea43e02 2768ceb7 which make the device IDs from /proc/self/mountinfo available to df. This can be leveraged by a subsequent change to df to present a more accurate list of file systems. * bootstrap: Merge from gnulib. * src/ls.c (dev_ino_pop): s/obstack_blank/obstack_blank_fast/ as this API/ABI has changed, giving memory exhausted errors if negative (large positive) numbers are passed to obstack_blank(). * tests/df/skip-duplicates.sh: Adjust as the new gnulib code requires a non NULL mnt_opts even when mnt_type is not "none".
Diffstat (limited to 'tests/df')
-rwxr-xr-xtests/df/skip-duplicates.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/df/skip-duplicates.sh b/tests/df/skip-duplicates.sh
index 6b984ad21..1de01322f 100755
--- a/tests/df/skip-duplicates.sh
+++ b/tests/df/skip-duplicates.sh
@@ -90,6 +90,8 @@ struct mntent *getmntent (FILE *fp)
{
if (!mntents[done-2].mnt_type)
mntents[done-2].mnt_type = "-";
+ if (!mntents[done-2].mnt_opts)
+ mntents[done-2].mnt_opts = "-";
if (STREQ (mntents[done-2].mnt_dir, "/NONROOT"))
mntents[done-2].mnt_dir = nonroot_fs;
if (STREQ (mntents[done-2].mnt_dir, "/REMOTE"))