[svk-commit] r3081 - trunk/t

nobody at bestpractical.com nobody at bestpractical.com
Sat Sep 6 03:50:29 EDT 2008


Author: clkao
Date: Sat Sep  6 03:50:28 2008
New Revision: 3081

Modified:
   trunk/t/50dav.t

Log:
kludge for macosx to run 50dav test, forcing i386 arch form universal binary.

Modified: trunk/t/50dav.t
==============================================================================
--- trunk/t/50dav.t	(original)
+++ trunk/t/50dav.t	Sat Sep  6 03:50:28 2008
@@ -48,6 +48,14 @@
     plan skip_all => "Can't find mod_dav_svn";
 }
 
+if ($^O eq 'darwin') {
+    no warnings 'redefine';
+    my $start_cmd = \&Apache::TestServer::start_cmd;
+    *Apache::TestServer::start_cmd = sub {
+        return "arch -i386 ".$start_cmd->(@_);
+    };
+}
+
 plan tests => 13;
 
 my $utf8 = SVK::Util::get_encoding;


More information about the svk-commit mailing list