<userinput>vcregress ecpgcheck</userinput>
<userinput>vcregress isolationcheck</userinput>
<userinput>vcregress bincheck</userinput>
+<userinput>vcregress authcheck</userinput>
<userinput>vcregress recoverycheck</userinput>
<userinput>vcregress upgradecheck</userinput>
</screen>
<para>
Running the regression tests on client programs, with
- <command>vcregress bincheck</>, or on recovery tests, with
- <command>vcregress recoverycheck</>, requires an additional Perl module
+ <command>vcregress bincheck</>, on recovery tests, with
+ <command>vcregress recoverycheck</>, or on authentication tests with
+ <command>vcregress authcheck</> requires an additional Perl module
to be installed:
<variablelist>
<varlistentry>
my $what = shift || "";
if ($what =~
-/^(check|installcheck|plcheck|contribcheck|modulescheck|ecpgcheck|isolationcheck|upgradecheck|bincheck|recoverycheck)$/i
+/^(check|installcheck|plcheck|contribcheck|modulescheck|ecpgcheck|isolationcheck|upgradecheck|bincheck|recoverycheck|authcheck)$/i
)
{
$what = uc $what;
ISOLATIONCHECK => \&isolationcheck,
BINCHECK => \&bincheck,
RECOVERYCHECK => \&recoverycheck,
+ AUTHCHECK => \&authcheck,
UPGRADECHECK => \&upgradecheck,);
my $proc = $command{$what};
exit $status if $status;
}
+sub authcheck
+{
+ InstallTemp();
+
+ my $mstat = 0;
+ my $dir = "$topdir/src/test/authentication";
+ my $status = tap_check($dir);
+ exit $status if $status;
+}
+
# Run "initdb", then reconfigure authentication.
sub standard_initdb
{
print STDERR
"Usage: vcregress.pl <mode> [ <schedule> ]\n\n",
"Options for <mode>:\n",
+ " authcheck run authentication test suite\n",
" bincheck run tests of utilities in src/bin/\n",
" check deploy instance and run regression tests on it\n",
" contribcheck run tests of modules in contrib/\n",