[Swift-commit] r3322 - SwiftApps/adem-osg/test

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon May 3 14:57:07 CDT 2010


Author: aespinosa
Date: 2010-05-03 14:57:07 -0500 (Mon, 03 May 2010)
New Revision: 3322

Modified:
   SwiftApps/adem-osg/test/test_offline.rb
   SwiftApps/adem-osg/test/test_online.rb
Log:
Changed test_app_avail to offline

Modified: SwiftApps/adem-osg/test/test_offline.rb
===================================================================
--- SwiftApps/adem-osg/test/test_offline.rb	2010-05-03 19:57:05 UTC (rev 3321)
+++ SwiftApps/adem-osg/test/test_offline.rb	2010-05-03 19:57:07 UTC (rev 3322)
@@ -35,4 +35,15 @@
   def test_config
     assert_equal(@conf, config(nil, "config"))
   end
+
+  def test_app_avail
+    pacman_cache = "test/dummy_cache"
+    response = <<-eos
+test/dummy_cache
+    [ ] jbsim3d
+    eos
+    assert_equal(response, app_avail(pacman_cache))
+  end
+
+
 end

Modified: SwiftApps/adem-osg/test/test_online.rb
===================================================================
--- SwiftApps/adem-osg/test/test_online.rb	2010-05-03 19:57:05 UTC (rev 3321)
+++ SwiftApps/adem-osg/test/test_online.rb	2010-05-03 19:57:07 UTC (rev 3322)
@@ -78,4 +78,21 @@
       )
     )
   end
+
+  def test_pacman_remove_firefly_jbsim3d
+    expected = <<-eos
+  Uninstalling jbsim3d...
+  Removing /panfs/panasas/CMS/app/engage/jbsim3d_r794~RHEL5_amd64.tar.gz contents...
+  jbsim3d has been uninstalled.
+    eos
+    assert_equal(
+      expected,
+      pacman_remove(
+        "jbsim3d",
+        { :contact => "ff-grid.unl.edu/jobmanager-fork",
+          :pacman  => "/opt/pacman/pacman-3.28",
+          :path    => "/panfs/panasas/CMS/app/engage" }
+      )
+    )
+  end
 end




More information about the Swift-commit mailing list