On 08/08/2012 05:43 PM, Pádraig Brady wrote:

> +require_mount_list_()
> +{
> +  df >/dev/null 2>&1 ||
> +    skip_ "Unable to read the list of mounted file systems."
> +}
> +

Hmm, I think this is not enough: df can also fail due to other reasons,
e.g. when a mount point is not reachable by the user:

  $ src/df > /dev/null  ; echo $?
  src/df: ‘/root/backup’: Permission denied
  1

Have a nice day,
Berny

Reply via email to