From d1a1a1aa438288dc78c32384bfd5a5272bc9b7cd Mon Sep 17 00:00:00 2001 From: Greg Date: Thu, 28 May 2009 21:23:19 -0400 Subject: [PATCH] Stub for new test. --- t/02_same_schema.t | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 t/02_same_schema.t diff --git a/t/02_same_schema.t b/t/02_same_schema.t new file mode 100644 index 000000000..9e8893e54 --- /dev/null +++ b/t/02_same_schema.t @@ -0,0 +1,33 @@ +#!perl + +## Test the "same_schema" action + +use 5.006; +use strict; +use warnings; +use Data::Dumper; +use Test::More tests => 2; +use lib 't','.'; +use CP_Testing; + +use vars qw/$dbh $SQL $t/; + +my $cp = CP_Testing->new( {default_action => 'same_schema'} ); + +$dbh = $cp->test_database_handle(); + +my $S = q{Action 'same_schema'}; +my $label = 'POSTGRES_VERSION'; + +$t=qq{$S fails when called with an invalid option}; +like ($cp->run('foobar=12'), qr{^\s*Usage:}, $t); + +$t=qq{$S fails when called with invalid warning}; + +SKIP: { + + skip 'Tests not written for this action yet', 1; + +} + +exit; -- 2.39.5