Skip to content

Commit

Permalink
No shebangs in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeijen committed Jan 21, 2015
1 parent 484d1f0 commit d7bf9bd
Show file tree
Hide file tree
Showing 59 changed files with 11 additions and 122 deletions.
6 changes: 4 additions & 2 deletions eg/bug14979.pl
@@ -1,7 +1,9 @@
#! /usr/bin/perl -wT
#! /usr/bin/perl

use strict;
use DBI();
use warnings;

use DBI;

MAIN: {
$ENV{'DBI_DSN'} ||= 'dbi:mysql:dbname=mysql:mysql_server_prepare=1';
Expand Down
2 changes: 0 additions & 2 deletions t/00base.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/05dbcreate.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/10connect.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/15reconnect.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/20createdrop.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
6 changes: 1 addition & 5 deletions t/25lockunlock.t
@@ -1,15 +1,11 @@
#!/usr/bin/perl

use strict;
use warnings;

use Test::More;
use DBI;
use lib 't', '.';
require 'lib.pl';

#
# Make -w happy
#
use vars qw($table $test_dsn $test_user $test_password);

my $dbh;
Expand Down
2 changes: 0 additions & 2 deletions t/29warnings.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/30insertfetch.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/31insertid.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/32insert_error.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/35limit.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/35prepare.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/40bindparam.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
4 changes: 1 addition & 3 deletions t/40bindparam2.t
@@ -1,10 +1,8 @@
#!/usr/bin/perl

use strict;
use warnings;

use Test::More;
use DBI ();
use DBI;
use vars qw($table $test_dsn $test_user $test_password);
use lib 't', '.';
require 'lib.pl';
Expand Down
2 changes: 0 additions & 2 deletions t/40blobs.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/40catalog.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/40keyinfo.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/40listfields.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/40nulls.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/40nulls_prepare.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/40numrows.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/40server_prepare.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/40server_prepare_error.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/40types.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/41bindparam.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/41blobs_prepare.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/42bindparam.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/43count_params.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/50chopblanks.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/50commit.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/51bind_type_guessing.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/52comment.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/53comment.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/55utf8.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/60leaks.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/65segfault.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/65types.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/70takeimp.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
8 changes: 5 additions & 3 deletions t/71impdata.t
@@ -1,13 +1,15 @@
#!/usr/bin/perl
$| = 1;

use strict;
use warnings;

use Test::More;
use DBI;
use lib 't', '.';
require 'lib.pl';

use Test::More;

$| = 1;

use vars qw($test_dsn $test_user $test_password);

my $dbh;
Expand Down
2 changes: 0 additions & 2 deletions t/75supported_sql.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/76multi_statement.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/80procs.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/81procs.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/85init_command.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/86_bug_36972.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/87async.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/88async-multi-stmts.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/89async-method-check.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/90no-async.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/99_bug_server_prepare_blob_null.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/lib.pl
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/manifest.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

BEGIN {
unless ($ENV{RELEASE_TESTING}) {
require Test::More;
Expand Down
2 changes: 0 additions & 2 deletions t/mysql.dbtest
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/rt25389-bin-case.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
1 change: 0 additions & 1 deletion t/rt50304-column_info_parentheses.t
@@ -1,4 +1,3 @@
#!/usr/bin/perl
use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/rt83494-quotes-comments.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

# Test special characters inside comments
# http://bugs.debian.org/311040
# http://bugs.mysql.com/27625
Expand Down
2 changes: 0 additions & 2 deletions t/rt86153-reconnect-fail-memory.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions t/rt91715.t
@@ -1,5 +1,3 @@
#!/usr/bin/perl

use strict;
use warnings;

Expand Down

0 comments on commit d7bf9bd

Please sign in to comment.