Skip to content

Commit

Permalink
Merge branch 'master' of [email protected]:virtualmin/virtualmin-nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Aug 27, 2016
2 parents 701933e + 05b4062 commit 9f07b8b
Show file tree
Hide file tree
Showing 64 changed files with 320 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/acl_security-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'acl_security.pl' );
strict_ok( 'acl_security.pl' );
warnings_ok( 'acl_security.pl' );
5 changes: 5 additions & 0 deletions t/edit_docs-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_docs.cgi' );
strict_ok( 'edit_docs.cgi' );
warnings_ok( 'edit_docs.cgi' );
5 changes: 5 additions & 0 deletions t/edit_fcgi-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_fcgi.cgi' );
strict_ok( 'edit_fcgi.cgi' );
warnings_ok( 'edit_fcgi.cgi' );
5 changes: 5 additions & 0 deletions t/edit_laccess-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_laccess.cgi' );
strict_ok( 'edit_laccess.cgi' );
warnings_ok( 'edit_laccess.cgi' );
5 changes: 5 additions & 0 deletions t/edit_ldocs-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_ldocs.cgi' );
strict_ok( 'edit_ldocs.cgi' );
warnings_ok( 'edit_ldocs.cgi' );
5 changes: 5 additions & 0 deletions t/edit_lfcgi-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_lfcgi.cgi' );
strict_ok( 'edit_lfcgi.cgi' );
warnings_ok( 'edit_lfcgi.cgi' );
5 changes: 5 additions & 0 deletions t/edit_lgzip-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_lgzip.cgi' );
strict_ok( 'edit_lgzip.cgi' );
warnings_ok( 'edit_lgzip.cgi' );
5 changes: 5 additions & 0 deletions t/edit_location-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_location.cgi' );
strict_ok( 'edit_location.cgi' );
warnings_ok( 'edit_location.cgi' );
5 changes: 5 additions & 0 deletions t/edit_logs-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_logs.cgi' );
strict_ok( 'edit_logs.cgi' );
warnings_ok( 'edit_logs.cgi' );
5 changes: 5 additions & 0 deletions t/edit_lproxy-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_lproxy.cgi' );
strict_ok( 'edit_lproxy.cgi' );
warnings_ok( 'edit_lproxy.cgi' );
5 changes: 5 additions & 0 deletions t/edit_lrewrite-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_lrewrite.cgi' );
strict_ok( 'edit_lrewrite.cgi' );
warnings_ok( 'edit_lrewrite.cgi' );
5 changes: 5 additions & 0 deletions t/edit_lssi-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_lssi.cgi' );
strict_ok( 'edit_lssi.cgi' );
warnings_ok( 'edit_lssi.cgi' );
5 changes: 5 additions & 0 deletions t/edit_manual-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_manual.cgi' );
strict_ok( 'edit_manual.cgi' );
warnings_ok( 'edit_manual.cgi' );
5 changes: 5 additions & 0 deletions t/edit_mime-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_mime.cgi' );
strict_ok( 'edit_mime.cgi' );
warnings_ok( 'edit_mime.cgi' );
5 changes: 5 additions & 0 deletions t/edit_misc-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_misc.cgi' );
strict_ok( 'edit_misc.cgi' );
warnings_ok( 'edit_misc.cgi' );
5 changes: 5 additions & 0 deletions t/edit_net-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_net.cgi' );
strict_ok( 'edit_net.cgi' );
warnings_ok( 'edit_net.cgi' );
5 changes: 5 additions & 0 deletions t/edit_saccess-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_saccess.cgi' );
strict_ok( 'edit_saccess.cgi' );
warnings_ok( 'edit_saccess.cgi' );
5 changes: 5 additions & 0 deletions t/edit_sdocs-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_sdocs.cgi' );
strict_ok( 'edit_sdocs.cgi' );
warnings_ok( 'edit_sdocs.cgi' );
5 changes: 5 additions & 0 deletions t/edit_server-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_server.cgi' );
strict_ok( 'edit_server.cgi' );
warnings_ok( 'edit_server.cgi' );
5 changes: 5 additions & 0 deletions t/edit_sgzip-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_sgzip.cgi' );
strict_ok( 'edit_sgzip.cgi' );
warnings_ok( 'edit_sgzip.cgi' );
5 changes: 5 additions & 0 deletions t/edit_slogs-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_slogs.cgi' );
strict_ok( 'edit_slogs.cgi' );
warnings_ok( 'edit_slogs.cgi' );
5 changes: 5 additions & 0 deletions t/edit_sproxy-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_sproxy.cgi' );
strict_ok( 'edit_sproxy.cgi' );
warnings_ok( 'edit_sproxy.cgi' );
5 changes: 5 additions & 0 deletions t/edit_srewrite-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_srewrite.cgi' );
strict_ok( 'edit_srewrite.cgi' );
warnings_ok( 'edit_srewrite.cgi' );
5 changes: 5 additions & 0 deletions t/edit_ssi-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_ssi.cgi' );
strict_ok( 'edit_ssi.cgi' );
warnings_ok( 'edit_ssi.cgi' );
5 changes: 5 additions & 0 deletions t/edit_ssl-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_ssl.cgi' );
strict_ok( 'edit_ssl.cgi' );
warnings_ok( 'edit_ssl.cgi' );
5 changes: 5 additions & 0 deletions t/edit_sssi-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_sssi.cgi' );
strict_ok( 'edit_sssi.cgi' );
warnings_ok( 'edit_sssi.cgi' );
5 changes: 5 additions & 0 deletions t/edit_user-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'edit_user.cgi' );
strict_ok( 'edit_user.cgi' );
warnings_ok( 'edit_user.cgi' );
5 changes: 5 additions & 0 deletions t/fetch-directives-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'fetch-directives.pl' );
strict_ok( 'fetch-directives.pl' );
warnings_ok( 'fetch-directives.pl' );
5 changes: 5 additions & 0 deletions t/index-syntax.t
Original file line number Diff line number Diff line change
@@ -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' );
5 changes: 5 additions & 0 deletions t/list_users-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'list_users.cgi' );
strict_ok( 'list_users.cgi' );
warnings_ok( 'list_users.cgi' );
5 changes: 5 additions & 0 deletions t/log_parser-syntax.t
Original file line number Diff line number Diff line change
@@ -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' );
5 changes: 5 additions & 0 deletions t/php-loop-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'php-loop.pl' );
strict_ok( 'php-loop.pl' );
warnings_ok( 'php-loop.pl' );
5 changes: 5 additions & 0 deletions t/restart-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'restart.cgi' );
strict_ok( 'restart.cgi' );
warnings_ok( 'restart.cgi' );
5 changes: 5 additions & 0 deletions t/save_docs-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_docs.cgi' );
strict_ok( 'save_docs.cgi' );
warnings_ok( 'save_docs.cgi' );
5 changes: 5 additions & 0 deletions t/save_fcgi-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_fcgi.cgi' );
strict_ok( 'save_fcgi.cgi' );
warnings_ok( 'save_fcgi.cgi' );
5 changes: 5 additions & 0 deletions t/save_laccess-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_laccess.cgi' );
strict_ok( 'save_laccess.cgi' );
warnings_ok( 'save_laccess.cgi' );
5 changes: 5 additions & 0 deletions t/save_ldocs-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_ldocs.cgi' );
strict_ok( 'save_ldocs.cgi' );
warnings_ok( 'save_ldocs.cgi' );
5 changes: 5 additions & 0 deletions t/save_lfcgi-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_lfcgi.cgi' );
strict_ok( 'save_lfcgi.cgi' );
warnings_ok( 'save_lfcgi.cgi' );
5 changes: 5 additions & 0 deletions t/save_lgzip-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_lgzip.cgi' );
strict_ok( 'save_lgzip.cgi' );
warnings_ok( 'save_lgzip.cgi' );
5 changes: 5 additions & 0 deletions t/save_location-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_location.cgi' );
strict_ok( 'save_location.cgi' );
warnings_ok( 'save_location.cgi' );
5 changes: 5 additions & 0 deletions t/save_logs-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_logs.cgi' );
strict_ok( 'save_logs.cgi' );
warnings_ok( 'save_logs.cgi' );
5 changes: 5 additions & 0 deletions t/save_lproxy-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_lproxy.cgi' );
strict_ok( 'save_lproxy.cgi' );
warnings_ok( 'save_lproxy.cgi' );
5 changes: 5 additions & 0 deletions t/save_lrewrite-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_lrewrite.cgi' );
strict_ok( 'save_lrewrite.cgi' );
warnings_ok( 'save_lrewrite.cgi' );
5 changes: 5 additions & 0 deletions t/save_lssi-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_lssi.cgi' );
strict_ok( 'save_lssi.cgi' );
warnings_ok( 'save_lssi.cgi' );
5 changes: 5 additions & 0 deletions t/save_manual-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_manual.cgi' );
strict_ok( 'save_manual.cgi' );
warnings_ok( 'save_manual.cgi' );
5 changes: 5 additions & 0 deletions t/save_mime-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_mime.cgi' );
strict_ok( 'save_mime.cgi' );
warnings_ok( 'save_mime.cgi' );
5 changes: 5 additions & 0 deletions t/save_misc-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_misc.cgi' );
strict_ok( 'save_misc.cgi' );
warnings_ok( 'save_misc.cgi' );
5 changes: 5 additions & 0 deletions t/save_net-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_net.cgi' );
strict_ok( 'save_net.cgi' );
warnings_ok( 'save_net.cgi' );
5 changes: 5 additions & 0 deletions t/save_saccess-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_saccess.cgi' );
strict_ok( 'save_saccess.cgi' );
warnings_ok( 'save_saccess.cgi' );
5 changes: 5 additions & 0 deletions t/save_sdocs-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_sdocs.cgi' );
strict_ok( 'save_sdocs.cgi' );
warnings_ok( 'save_sdocs.cgi' );
5 changes: 5 additions & 0 deletions t/save_server-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_server.cgi' );
strict_ok( 'save_server.cgi' );
warnings_ok( 'save_server.cgi' );
5 changes: 5 additions & 0 deletions t/save_sgzip-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_sgzip.cgi' );
strict_ok( 'save_sgzip.cgi' );
warnings_ok( 'save_sgzip.cgi' );
5 changes: 5 additions & 0 deletions t/save_slogs-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_slogs.cgi' );
strict_ok( 'save_slogs.cgi' );
warnings_ok( 'save_slogs.cgi' );
5 changes: 5 additions & 0 deletions t/save_sproxy-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_sproxy.cgi' );
strict_ok( 'save_sproxy.cgi' );
warnings_ok( 'save_sproxy.cgi' );
5 changes: 5 additions & 0 deletions t/save_srewrite-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_srewrite.cgi' );
strict_ok( 'save_srewrite.cgi' );
warnings_ok( 'save_srewrite.cgi' );
5 changes: 5 additions & 0 deletions t/save_ssi-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_ssi.cgi' );
strict_ok( 'save_ssi.cgi' );
warnings_ok( 'save_ssi.cgi' );
5 changes: 5 additions & 0 deletions t/save_ssl-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_ssl.cgi' );
strict_ok( 'save_ssl.cgi' );
warnings_ok( 'save_ssl.cgi' );
5 changes: 5 additions & 0 deletions t/save_sssi-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_sssi.cgi' );
strict_ok( 'save_sssi.cgi' );
warnings_ok( 'save_sssi.cgi' );
5 changes: 5 additions & 0 deletions t/save_user-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'save_user.cgi' );
strict_ok( 'save_user.cgi' );
warnings_ok( 'save_user.cgi' );
5 changes: 5 additions & 0 deletions t/start-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'start.cgi' );
strict_ok( 'start.cgi' );
warnings_ok( 'start.cgi' );
5 changes: 5 additions & 0 deletions t/status_monitor-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'status_monitor.pl' );
strict_ok( 'status_monitor.pl' );
warnings_ok( 'status_monitor.pl' );
5 changes: 5 additions & 0 deletions t/stop-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'stop.cgi' );
strict_ok( 'stop.cgi' );
warnings_ok( 'stop.cgi' );
5 changes: 5 additions & 0 deletions t/virtual_feature-syntax.t
Original file line number Diff line number Diff line change
@@ -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' );
5 changes: 5 additions & 0 deletions t/virtualmin-nginx-lib-syntax.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use Test::Strict tests => 3; # last test to print

syntax_ok( 'virtualmin-nginx-lib.pl' );
strict_ok( 'virtualmin-nginx-lib.pl' );
warnings_ok( 'virtualmin-nginx-lib.pl' );

0 comments on commit 9f07b8b

Please sign in to comment.