geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r508669 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
Date Sat, 17 Feb 2007 00:17:24 GMT
Author: jdillon
Date: Fri Feb 16 16:17:23 2007
New Revision: 508669

URL: http://svn.apache.org/viewvc?view=rev&rev=508669
Log:
Add some more shell muck to see whats going on, looks like TCK leaves junk in /tmp

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy?view=diff&rev=508669&r1=508668&r2=508669
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
Fri Feb 16 16:17:23 2007
@@ -230,22 +230,26 @@
         println "Took: $watch"
         
         //
-        // HACK: Show what processes are left around afterwards
+        // HACK: Show what processes and tmp are left around afterwards
         //
-        println ''
-        println 'Straggling processes:'
-        def lscmd = File.createTempFile('liststragglers', '.sh')
-        lscmd.deleteOnExit()
+        def sh = File.createTempFile('shellmuck', '.sh')
+        sh.deleteOnExit()
         
-        lscmd.write(
+        sh.write(
             """#!/bin/sh
+            echo "Processes:"
             ps -ef | grep anthill | grep -v com.urbancode.anthill3.main | grep -v grep |
grep -v $0
+            
+            echo ""
+            echo "Tmp files:"
+            ls -lh /tmp
             """
         )
         
-        ant.chmod(perm: 'u+x', file: lscmd)
-        ant.exec(executable: lscmd)
-        lscmd.delete()
+        ant.chmod(perm: 'u+x', file: sh)
+        println ''
+        ant.exec(executable: sh)
+        sh.delete()
     }
     
     def runtestsIteration = {



Mime
View raw message