incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r962196 - /incubator/deltacloud/trunk/server/libexec/lib/deltacloud/drivers/mock/mock_driver.rb
Date Thu, 08 Jul 2010 23:35:45 GMT
Author: lutter
Date: Thu Jul  8 23:35:45 2010
New Revision: 962196

URL: http://svn.apache.org/viewvc?rev=962196&view=rev
Log:
Move initialization of STORAGE_ROOT into mock_driver

Modified:
    incubator/deltacloud/trunk/server/libexec/lib/deltacloud/drivers/mock/mock_driver.rb

Modified: incubator/deltacloud/trunk/server/libexec/lib/deltacloud/drivers/mock/mock_driver.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/libexec/lib/deltacloud/drivers/mock/mock_driver.rb?rev=962196&r1=962195&r2=962196&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/libexec/lib/deltacloud/drivers/mock/mock_driver.rb (original)
+++ incubator/deltacloud/trunk/server/libexec/lib/deltacloud/drivers/mock/mock_driver.rb Thu
Jul  8 23:35:45 2010
@@ -23,7 +23,10 @@ module Deltacloud
     module Mock
 class MockDriver < Deltacloud::BaseDriver
 
-  ( STORAGE_ROOT = MOCK_STORAGE_ROOT ) unless defined?( STORAGE_ROOT )
+  unless defined?(STORAGE_ROOT)
+    STORAGE_ROOT = File::join(File::dirname(__FILE__),
+                              "../../../../../../client/specs/data")
+  end
 
   #
   # Flavors



Mime
View raw message