summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg2009-05-29 01:23:19 +0000
committerGreg2009-05-29 01:23:19 +0000
commitd1a1a1aa438288dc78c32384bfd5a5272bc9b7cd (patch)
tree74f5cbc5b428ebd3781cf43c84640bcc8db9f1e3
parent9176e26fd04dad234152c39f64900c33f134118e (diff)
Stub for new test.2.9.0
-rw-r--r--t/02_same_schema.t33
1 files changed, 33 insertions, 0 deletions
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;