geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1051488 - in /geronimo/sandbox/forrest: ./ tck/ tck/harness_cleanEnvironment.sh
Date Tue, 21 Dec 2010 13:24:51 GMT
Author: xiaming
Date: Tue Dec 21 13:24:50 2010
New Revision: 1051488

URL: http://svn.apache.org/viewvc?rev=1051488&view=rev
Log:
Add a shell script to do cleanEnvironment work with sudo privilege when running tck with non-root
user

Added:
    geronimo/sandbox/forrest/
    geronimo/sandbox/forrest/tck/
    geronimo/sandbox/forrest/tck/harness_cleanEnvironment.sh   (with props)

Added: geronimo/sandbox/forrest/tck/harness_cleanEnvironment.sh
URL: http://svn.apache.org/viewvc/geronimo/sandbox/forrest/tck/harness_cleanEnvironment.sh?rev=1051488&view=auto
==============================================================================
--- geronimo/sandbox/forrest/tck/harness_cleanEnvironment.sh (added)
+++ geronimo/sandbox/forrest/tck/harness_cleanEnvironment.sh Tue Dec 21 13:24:50 2010
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# This list sync with cleanEnvironment method of groovy scripts "sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy"
+echo "Delete runtest related system temp files with sudo privilege..."
+sudo rm -rf /tmp/anthill-cts-props.txt
+sudo find /tmp -maxdepth 1 -name geronimo*.* -print | sudo rm -rf
+sudo rm -rf /tmp/test-*.jar
+sudo rm -rf /tmp/Axis*.att
+sudo rm -rf /tmp/axis2*.tmp
+sudo rm -rf /tmp/*wscompile*
+sudo rm -rf /tmp/accessedFile*tmp
+sudo rm -rf /tmp/deniedFile*tmp
+sudo rm -rf /tmp/runtimedepplan*
+sudo rm -rf /tmp/fSimpleTabularData*ser
+
+echo "Kill geronimo related processes..."
+sudo pkill -9 -f server.jar
+sudo pkill -9 -f geronimo-main.jar
+sudo pkill -9 -f dbprocedures.jar
+sudo pkill -9 -f admin-cli.jar
\ No newline at end of file

Propchange: geronimo/sandbox/forrest/tck/harness_cleanEnvironment.sh
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message