From: Jim Meyering Date: Thu, 19 Mar 2009 17:48:46 +0000 (+0100) Subject: tests: df/total-verify: avoid test failure with older Perl X-Git-Tag: v7.2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25507a54f7f1d8f6cd28802a413e23a0e91dbe67;p=thirdparty%2Fcoreutils.git tests: df/total-verify: avoid test failure with older Perl * tests/df/total-verify: Don't use perl's -f option. Reported by Matthew Woehlke. --- diff --git a/tests/df/total-verify b/tests/df/total-verify index ba27747bff..809f70d02a 100755 --- a/tests/df/total-verify +++ b/tests/df/total-verify @@ -1,7 +1,7 @@ #!/bin/sh # Ensure "df --total" computes accurate totals -# Copyright (C) 2008 Free Software Foundation, Inc. +# Copyright (C) 2008-2009 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -62,7 +62,7 @@ df --total -i -P > inode || framework_failure cat inode fail=0 -$PERL -f check-df space || fail=1 -$PERL -f check-df inode || fail=1 +$PERL check-df space || fail=1 +$PERL check-df inode || fail=1 Exit $fail