]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: df/total-verify: avoid test failure with older Perl
authorJim Meyering <meyering@redhat.com>
Thu, 19 Mar 2009 17:48:46 +0000 (18:48 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 19 Mar 2009 17:49:57 +0000 (18:49 +0100)
* tests/df/total-verify: Don't use perl's -f option.
Reported by Matthew Woehlke.

tests/df/total-verify

index ba27747bff16d050628a12f6d5079903f6b3d9c8..809f70d02a1dbd03a4c2365460881e1cc18d5ab0 100755 (executable)
@@ -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