[Rt-commit] r13783 - in rt/3.8/trunk: t/web

spang at bestpractical.com spang at bestpractical.com
Thu Jul 3 15:36:31 EDT 2008


Author: spang
Date: Thu Jul  3 15:36:30 2008
New Revision: 13783

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/t/web/command_line.t

Log:
 r43583 at loki:  spang | 2008-07-03 17:00:29 +0100
 make command_line.t use generalized get_relocateable_dir()


Modified: rt/3.8/trunk/t/web/command_line.t
==============================================================================
--- rt/3.8/trunk/t/web/command_line.t	(original)
+++ rt/3.8/trunk/t/web/command_line.t	Thu Jul  3 15:36:30 2008
@@ -1,6 +1,7 @@
 #!/usr/bin/perl -w
 
 use strict;
+use File::Spec ();
 use Test::Expect;
 use Test::More tests => 241;
 use RT::Test;
@@ -108,7 +109,8 @@
     expect_like(qr/Message recorded/, "Added the correspondence");
     ### should test to make sure it actually got added
 
-    my $test_email = RT::Test::get_relocateable_file('lorem-ipsum', qw(data emails));
+    my $test_email = RT::Test::get_relocateable_file('lorem-ipsum',
+        (File::Spec->updir(), 'data', 'emails'));
     warn("test email path: $test_email");
 
     # add attachments to a ticket


More information about the Rt-commit mailing list