maint: use the standard require_perl_ function
authorPádraig Brady <P@draigBrady.com>
Tue, 24 Jan 2012 14:32:42 +0000 (14:32 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 25 Jan 2012 18:19:55 +0000 (18:19 +0000)
* tests/cp/sparse-fiemap: Don't use a separate check.

tests/cp/sparse-fiemap

index 27756a5..61e807c 100755 (executable)
@@ -18,7 +18,7 @@
 
 . "${srcdir=.}/init.sh"; path_prepend_ ../src
 print_ver_ cp
-$PERL -e 1 || skip_ 'you lack perl'
+require_perl_
 
 # The test was seen to fail on ext3 so exclude that type
 # (or any file system where the type can't be determined)