summaryrefslogtreecommitdiff
path: root/src/bin/pg_upgrade/t/001_basic.pl
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-09-19 18:29:12 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-09-19 18:51:25 -0400
commitf41e56c76e39f02bef7ba002c9de03d62b76de4d (patch)
tree43a6a330310a7049f5d770b219fff4b8dd9a9aeb /src/bin/pg_upgrade/t/001_basic.pl
parent71edbb6f66f7139d6209334ef8734a122ba06b56 (diff)
Add basic TAP test setup for pg_upgrade
The plan is to convert the current pg_upgrade test to the TAP framework. This commit just puts a basic TAP test in place so that we can see how the build farm behaves, since the build farm client has some special knowledge of the pg_upgrade tests. Author: Michael Paquier <michael.paquier@gmail.com>
Diffstat (limited to 'src/bin/pg_upgrade/t/001_basic.pl')
-rw-r--r--src/bin/pg_upgrade/t/001_basic.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bin/pg_upgrade/t/001_basic.pl b/src/bin/pg_upgrade/t/001_basic.pl
new file mode 100644
index 00000000000..605a7f622f2
--- /dev/null
+++ b/src/bin/pg_upgrade/t/001_basic.pl
@@ -0,0 +1,9 @@
+use strict;
+use warnings;
+
+use TestLib;
+use Test::More tests => 8;
+
+program_help_ok('pg_upgrade');
+program_version_ok('pg_upgrade');
+program_options_handling_ok('pg_upgrade');