diff --git a/t/add-syntax.t b/t/add-syntax.t new file mode 100644 index 0000000..2a49e9c --- /dev/null +++ b/t/add-syntax.t @@ -0,0 +1,5 @@ +use Test::Strict tests => 3; # last test to print + +syntax_ok( 'add.cgi' ); +strict_ok( 'add.cgi' ); +warnings_ok( 'add.cgi' ); diff --git a/t/delete-syntax.t b/t/delete-syntax.t new file mode 100644 index 0000000..8810478 --- /dev/null +++ b/t/delete-syntax.t @@ -0,0 +1,5 @@ +use Test::Strict tests => 3; # last test to print + +syntax_ok( 'delete.cgi' ); +strict_ok( 'delete.cgi' ); +warnings_ok( 'delete.cgi' ); diff --git a/t/help-syntax.t b/t/help-syntax.t new file mode 100644 index 0000000..1388ea1 --- /dev/null +++ b/t/help-syntax.t @@ -0,0 +1,5 @@ +use Test::Strict tests => 3; # last test to print + +syntax_ok( 'help.cgi' ); +strict_ok( 'help.cgi' ); +warnings_ok( 'help.cgi' ); diff --git a/t/index-syntax.t b/t/index-syntax.t new file mode 100644 index 0000000..7a1bbba --- /dev/null +++ b/t/index-syntax.t @@ -0,0 +1,5 @@ +use Test::Strict tests => 3; # last test to print + +syntax_ok( 'index.cgi' ); +strict_ok( 'index.cgi' ); +warnings_ok( 'index.cgi' ); diff --git a/t/log_parser-syntax.t b/t/log_parser-syntax.t new file mode 100644 index 0000000..e67d554 --- /dev/null +++ b/t/log_parser-syntax.t @@ -0,0 +1,5 @@ +use Test::Strict tests => 3; # last test to print + +syntax_ok( 'log_parser.pl' ); +strict_ok( 'log_parser.pl' ); +warnings_ok( 'log_parser.pl' ); diff --git a/t/postinstall-syntax.t b/t/postinstall-syntax.t new file mode 100644 index 0000000..3fef351 --- /dev/null +++ b/t/postinstall-syntax.t @@ -0,0 +1,5 @@ +use Test::Strict tests => 3; # last test to print + +syntax_ok( 'postinstall.pl' ); +strict_ok( 'postinstall.pl' ); +warnings_ok( 'postinstall.pl' ); diff --git a/t/virtual_feature-syntax.t b/t/virtual_feature-syntax.t new file mode 100644 index 0000000..0825ca8 --- /dev/null +++ b/t/virtual_feature-syntax.t @@ -0,0 +1,5 @@ +use Test::Strict tests => 3; # last test to print + +syntax_ok( 'virtual_feature.pl' ); +strict_ok( 'virtual_feature.pl' ); +warnings_ok( 'virtual_feature.pl' ); diff --git a/t/virtualmin-git-lib-syntax.t b/t/virtualmin-git-lib-syntax.t new file mode 100644 index 0000000..7c24893 --- /dev/null +++ b/t/virtualmin-git-lib-syntax.t @@ -0,0 +1,5 @@ +use Test::Strict tests => 3; # last test to print + +syntax_ok( 'virtualmin-git-lib.pl' ); +strict_ok( 'virtualmin-git-lib.pl' ); +warnings_ok( 'virtualmin-git-lib.pl' );