[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] df: new option: --total (-c) to produce grand total (in the

From: Andreas Schwab
Subject: Re: [PATCH] df: new option: --total (-c) to produce grand total (in the same way as du)
Date: Tue, 02 Sep 2008 16:35:10 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)

Jim Meyering <address@hidden> writes:

> diff --git a/tests/df/total b/tests/df/total
> index be4bc19..5398deb 100755
> --- a/tests/df/total
> +++ b/tests/df/total
> @@ -29,12 +29,12 @@ fail=0
>  umask 22
>  df > tmp || fail=1
> -grep ^total tmp && fail=1
> +grep '^total' tmp && fail=1

This will fail if you happen to have an nfs mount from a host named


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]