[Rt-commit] rt branch, 4.0/security-test-requires-graphviz, created. rt-4.0.8-216-g6f02e13
Alex Vandiver
alexmv at bestpractical.com
Thu Dec 6 15:21:50 EST 2012
The branch, 4.0/security-test-requires-graphviz has been created
at 6f02e135e724f60ad707034d93916afc1e39362e (commit)
- Log -----------------------------------------------------------------
commit 6f02e135e724f60ad707034d93916afc1e39362e
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Thu Dec 6 14:53:59 2012 -0500
/Ticket/Graphs/ requires the GraphViz module; skip tests if not installed
diff --git a/t/security/CVE-2011-5092-graph-links.t b/t/security/CVE-2011-5092-graph-links.t
index 5e98dd3..c43f51c 100644
--- a/t/security/CVE-2011-5092-graph-links.t
+++ b/t/security/CVE-2011-5092-graph-links.t
@@ -2,6 +2,8 @@ use strict;
use warnings;
use RT::Test tests => undef;
+plan skip_all => 'GraphViz required.'
+ unless eval { require GraphViz; 1 };
my ($base, $m) = RT::Test->started_ok;
$m->login;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list