[Rt-commit] r11533 - rt/branches/3.8-TESTING/t/ticket
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Sat Apr 5 07:43:02 EDT 2008
Author: sunnavy
Date: Sat Apr 5 07:41:24 2008
New Revision: 11533
Modified:
rt/branches/3.8-TESTING/t/ticket/action_linear_escalate.t
Log:
fixed rt-crontool path
Modified: rt/branches/3.8-TESTING/t/ticket/action_linear_escalate.t
==============================================================================
--- rt/branches/3.8-TESTING/t/ticket/action_linear_escalate.t (original)
+++ rt/branches/3.8-TESTING/t/ticket/action_linear_escalate.t Sat Apr 5 07:41:24 2008
@@ -81,8 +81,8 @@
sub escalate_ticket_ok {
my $ticket = shift;
my $id = $ticket->id;
- print "rt-crontool --search RT::Search::FromSQL --search-arg \"id = @{[$id]}\" --action RT::Action::LinearEscalate --action-arg \"RecordTransaction:$RecordTransaction; UpdateLastUpdated:$UpdateLastUpdated\"\n";
- print STDERR `/opt/rt3/bin/rt-crontool --search RT::Search::FromSQL --search-arg "id = @{[$id]}" --action RT::Action::LinearEscalate --action-arg "RecordTransaction:$RecordTransaction; UpdateLastUpdated:$UpdateLastUpdated"`;
+ print "$RT::BinPath/rt-crontool --search RT::Search::FromSQL --search-arg \"id = @{[$id]}\" --action RT::Action::LinearEscalate --action-arg \"RecordTransaction:$RecordTransaction; UpdateLastUpdated:$UpdateLastUpdated\"\n";
+ print STDERR `$RT::BinPath/rt-crontool --search RT::Search::FromSQL --search-arg "id = @{[$id]}" --action RT::Action::LinearEscalate --action-arg "RecordTransaction:$RecordTransaction; UpdateLastUpdated:$UpdateLastUpdated"`;
$ticket->Load($id); # reload, because otherwise we get the cached value
ok( $ticket->Priority != 0, "Escalated ticket" );
More information about the Rt-commit
mailing list