perl-Readonly/replace-shebang.patch

106 lines
2.2 KiB
Diff
Raw Normal View History

2020-02-29 12:53:53 +08:00
--- a/t/bugs/001_assign.t
+++ b/t/bugs/001_assign.t
@@ -1,4 +1,4 @@
-#!perl -I../../lib
+#!/usr/bin/perl -I../../lib
# Verify the Readonly function rejects initialization by assignment
use strict;
use warnings; no warnings 'misc';
--- a/t/bugs/007_implicit_undef.t
+++ b/t/bugs/007_implicit_undef.t
@@ -1,4 +1,4 @@
-#!perl -I../../lib
+#!/usr/bin/perl -I../../lib
# Verify the Readonly function accepts implicit undef values
use strict;
use Test::More;
--- a/t/general/array.t
+++ b/t/general/array.t
@@ -1,4 +1,4 @@
-#!perl -I../../lib
+#!/usr/bin/perl -I../../lib
# Readonly array tests
--- a/t/general/deepa.t
+++ b/t/general/deepa.t
@@ -1,4 +1,4 @@
-#!perl -I../../lib
+#!/usr/bin/perl -I../../lib
# Test Array vs Array1 functionality
--- a/t/general/deeph.t
+++ b/t/general/deeph.t
@@ -1,4 +1,4 @@
-#!perl -I../../lib
+#!/usr/bin/perl -I../../lib
# Test Hash vs Hash1 functionality
--- a/t/general/deeps.t
+++ b/t/general/deeps.t
@@ -1,4 +1,4 @@
-#!perl -I../../lib
+#!/usr/bin/perl -I../../lib
# Test Scalar vs Scalar1 functionality
--- a/t/general/docs.t
+++ b/t/general/docs.t
@@ -1,4 +1,4 @@
-#!perl -I../../lib
+#!/usr/bin/perl -I../../lib
# Examples from the docs -- make sure they work!
use strict;
use Test::More tests => 22;
--- a/t/general/export.t
+++ b/t/general/export.t
@@ -1,4 +1,4 @@
-#!perl -I../../lib
+#!/usr/bin/perl -I../../lib
# Readonly hash tests
use strict;
use Test::More tests => 1;
--- a/t/general/hash.t
+++ b/t/general/hash.t
@@ -1,4 +1,4 @@
-#!perl -I../../lib
+#!/usr/bin/perl -I../../lib
# Readonly hash tests
--- a/t/general/readonly.t
+++ b/t/general/readonly.t
@@ -1,4 +1,4 @@
-#!perl -I../../lib
+#!/usr/bin/perl -I../../lib
# Test the Readonly function
--- a/t/general/reassign.t
+++ b/t/general/reassign.t
@@ -1,4 +1,4 @@
-#!perl -I../../lib
+#!/usr/bin/perl -I../../lib
# Readonly reassignment-prevention tests
--- a/t/general/scalar.t
+++ b/t/general/scalar.t
@@ -1,4 +1,4 @@
-#!perl -I../../lib
+#!/usr/bin/perl
# Readonly scalar tests
--- a/t/general/tie.t
+++ b/t/general/tie.t
@@ -1,4 +1,4 @@
-#!perl -I../../lib
+#!/usr/bin/perl -I../../lib
# Test the Readonly function
use strict;
use Test::More tests => 4;