SF.net SVN: morphix: [2521] trunk/mmaker/utils/auto-testing/run_testing.sh
[email protected] Mon, 18 Jun 2007 14:11:23 -0700
| Newsgroups | gmane.linux.morphix.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 2521
http://svn.sourceforge.net/morphix/?rev=2521&view=rev
Author: bmsleight
Date: 2007-06-18 14:11:23 -0700 (Mon, 18 Jun 2007)
Log Message:
-----------
Adding Locking file
Modified Paths:
--------------
trunk/mmaker/utils/auto-testing/run_testing.sh
Modified: trunk/mmaker/utils/auto-testing/run_testing.sh
===================================================================
--- trunk/mmaker/utils/auto-testing/run_testing.sh 2007-06-18 20:05:44 UTC (rev 2520)
+++ trunk/mmaker/utils/auto-testing/run_testing.sh 2007-06-18 21:11:23 UTC (rev 2521)
@@ -19,6 +19,15 @@
# 5 - Convert screenshots to video
# 6 - rsync video
# 7 - Relax until the next day
+if [ -f /tmp/AutoTesting.lock ]
+then
+ echo "Already running AutoTesting"
+ exit
+fi
+
+echo "Lock File" >/tmp/AutoTesting.lock
+
+
SKIP_DOWNLOADS="$1"
TODAY=$(date +"%F")
@@ -58,6 +67,7 @@
if [ -z "$SKIP_DOWNLOADS" ]; then
rsync -avz --delete-before -e ssh morphix-FLx77brhBubMZ2x0e22RKNi2O/[email protected]:morphixorg/autobuilds/base/*$TODAY* /home/morph/autobuilds/base/
rsync -avz --delete-before -e ssh morphix-FLx77brhBubMZ2x0e22RKNi2O/[email protected]:morphixorg/autobuilds/mainmod/sid/*$TODAY* /home/morph/autobuilds/mainmod/sid/
+ rsync -avz --delete-before -e ssh morphix-FLx77brhBubMZ2x0e22RKNi2O/[email protected]:morphixorg/autobuilds/mainmod/etch/*$TODAY* /home/morph/autobuilds/mainmod/etch/
rsync -avz --delete-before -e ssh morphix-FLx77brhBubMZ2x0e22RKNi2O/[email protected]:morphixorg/autobuilds/mainmod/sarge/*$TODAY* /home/morph/autobuilds/mainmod/sarge/
rsync -avz --delete-before -e ssh morphix-FLx77brhBubMZ2x0e22RKNi2O/[email protected]:morphixorg/autobuilds/minimod/*$TODAY* /home/morph/autobuilds/minimod/
@@ -205,3 +215,4 @@
rsync -avz --delete -e ssh $VID_DIR morphix-FLx77brhBubMZ2x0e22RKNi2O/[email protected]:morphixorg/autobuilds/video/
rm $TMP_TAR_DIR/*
sudo rm $TMP_ISO_DIR -r
+rm /tmp/AutoTesting.lock
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/