summaryrefslogtreecommitdiff
path: root/tests/df
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-22 18:56:06 +0200
committerJim Meyering <meyering@redhat.com>2009-08-25 09:21:00 +0200
commit5e778f7c8d1ecf3d8f11385db013af2ba026e2a5 (patch)
treee460d471f37f0dce1ba06f60f88114d1a65326c4 /tests/df
parent2bc0f3caaafeb240cdcfd050b7ad1fe0ad14addf (diff)
downloadcoreutils-5e778f7c8d1ecf3d8f11385db013af2ba026e2a5.tar.xz
global: convert indentation-TABs to spaces
Transformed via this shell code: t=$'\t' git ls-files \ | grep -vE '(^|/)((GNU)?[Mm]akefile|ChangeLog)|\.(am|mk)$' \ | grep -vE 'tests/pr/|help2man' \ | xargs grep -lE "^ *$t" \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
Diffstat (limited to 'tests/df')
-rwxr-xr-xtests/df/total-verify14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/df/total-verify b/tests/df/total-verify
index 809f70d02..7b6273d2d 100755
--- a/tests/df/total-verify
+++ b/tests/df/total-verify
@@ -39,13 +39,13 @@ while (<>)
or die "$0: invalid input line\n: $_";
if ($1 eq 'total' && $5 eq '')
{
- $total == $2 or die "$total != $2";
- $used == $3 or die "$used != $3";
- $avail == $4 or die "$avail != $4";
- my $line = <>;
- defined $line
- and die "$0: extra line(s) after totals\n";
- exit 0;
+ $total == $2 or die "$total != $2";
+ $used == $3 or die "$used != $3";
+ $avail == $4 or die "$avail != $4";
+ my $line = <>;
+ defined $line
+ and die "$0: extra line(s) after totals\n";
+ exit 0;
}
$total += $2 unless $2 eq '-';
$used += $3 unless $3 eq '-';