[Rt-commit] rt branch, 4.0/dont-create-db-for-syntax-check, updated. rt-4.0.10-29-g85eef08
Ruslan Zakirov
ruz at bestpractical.com
Wed Mar 13 17:00:30 EDT 2013
The branch, 4.0/dont-create-db-for-syntax-check has been updated
via 85eef0824686bdbdc209d8769162245d87a016c6 (commit)
from f0e57eadaac50ebab96cc38bda704f26454c3e34 (commit)
Summary of changes:
lib/RT/Test/GnuPG.pm | 2 ++
1 file changed, 2 insertions(+)
- Log -----------------------------------------------------------------
commit 85eef0824686bdbdc209d8769162245d87a016c6
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Thu Mar 14 00:57:33 2013 +0400
skip DB interaction in gpg tests during syntax check
RT::Test::GnuPG adds rights from 'sub import', skip it
during perl syntax check
diff --git a/lib/RT/Test/GnuPG.pm b/lib/RT/Test/GnuPG.pm
index 086ba5f..ec44672 100644
--- a/lib/RT/Test/GnuPG.pm
+++ b/lib/RT/Test/GnuPG.pm
@@ -71,6 +71,8 @@ sub import {
$class->SUPER::import(%args);
require RT::Crypt::GnuPG;
+ return $class->export_to_level(1)
+ if $^C;
RT::Test::diag "GnuPG --homedir " . RT->Config->Get('GnuPGOptions')->{'homedir'};
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list