tests: remove spurious syntax from a perl snippet
authorJim Meyering <meyering@redhat.com>
Wed, 20 Apr 2011 07:46:27 +0000 (09:46 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 20 Apr 2011 07:46:27 +0000 (09:46 +0200)
* tests/cp/sparse-fiemap: Remove spurious BEGIN {...} block.

tests/cp/sparse-fiemap

index 90d55d9..2c6a250 100755 (executable)
@@ -65,7 +65,7 @@ f()
 
 for i in $(seq 1 2 21); do
   for j in 1 2 31 100; do
-    $PERL -e 'BEGIN { $n = '$i' * 1024; *F = *STDOUT }' \
+    $PERL -e '$n = '$i' * 1024; *F = *STDOUT;' \
           -e 'for (1..'$j') { sysseek (*F, $n, 1)' \
           -e '&& syswrite (*F, chr($_)x$n) or die "$!"}' > j1 || fail=1