[Swift-commit] r5180 - in branches/release-0.93/tests: . language/working local stress/persistent-coasters/pass-fail-pass

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Tue Sep 27 14:09:42 CDT 2011


Author: davidk
Date: 2011-09-27 14:09:41 -0500 (Tue, 27 Sep 2011)
New Revision: 5180

Added:
   branches/release-0.93/tests/language/working/061-stdoutinerr.setup.sh
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0001.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0002.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0003.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0004.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0005.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0006.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0007.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0008.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0009.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.setup.sh
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.swift
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.timeout
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0001.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0002.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0003.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0004.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0005.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0006.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0007.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0008.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0009.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.swift
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0001.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0002.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0003.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0004.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0005.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0006.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0007.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0008.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0009.out.expected
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.setup.sh
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.swift
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.timeout
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/coaster-service.conf
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/data.txt
   branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/sites.template.xml
Modified:
   branches/release-0.93/tests/local/filesysmapper.check.sh
   branches/release-0.93/tests/suite.sh
Log:
Updates to test suite and more tests


Added: branches/release-0.93/tests/language/working/061-stdoutinerr.setup.sh
===================================================================
--- branches/release-0.93/tests/language/working/061-stdoutinerr.setup.sh	                        (rev 0)
+++ branches/release-0.93/tests/language/working/061-stdoutinerr.setup.sh	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+cp -v $GROUP/test.in .


Property changes on: branches/release-0.93/tests/language/working/061-stdoutinerr.setup.sh
___________________________________________________________________
Added: svn:executable
   + *

Modified: branches/release-0.93/tests/local/filesysmapper.check.sh
===================================================================
--- branches/release-0.93/tests/local/filesysmapper.check.sh	2011-09-27 16:12:31 UTC (rev 5179)
+++ branches/release-0.93/tests/local/filesysmapper.check.sh	2011-09-27 19:09:41 UTC (rev 5180)
@@ -2,7 +2,7 @@
 
 set -x
 
-ls $TEST_LOG || exit 1
+ls $OUTPUT || exit 1
 COUNT=$( grep -c "file: [abc].dat" < $TEST_LOG )
 (( $COUNT == 3 )) || exit 1
 

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0001.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0001.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0001.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0002.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0002.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0002.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0003.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0003.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0003.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0004.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0004.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0004.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0005.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0005.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0005.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0006.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0006.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0006.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0007.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0007.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0007.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0008.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0008.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0008.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0009.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0009.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.0009.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.setup.sh
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.setup.sh	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.setup.sh	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+cp $GROUP/coaster-service.conf .
+cp $GROUP/data.txt .
+if [ ! -f "$HOME/.swift/.coaster-service-pids" ]; then
+   start-coaster-service
+fi


Property changes on: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.setup.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.swift
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.swift	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.swift	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1,12 @@
+type file;
+
+app (file o) cat (file i)
+{
+  cat @i stdout=@o;
+}
+
+file out[]<simple_mapper; location=".", prefix="001-catsn.",suffix=".out">;
+foreach j in [1:@toint(@arg("n","10"))] {
+  file data<"data.txt">;
+  out[j] = cat(data);
+}

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.timeout
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.timeout	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/001-catsn.timeout	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+999999

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0001.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0001.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0001.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0002.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0002.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0002.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0003.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0003.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0003.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0004.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0004.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0004.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0005.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0005.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0005.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0006.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0006.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0006.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0007.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0007.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0007.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0008.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0008.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0008.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0009.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0009.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.0009.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.swift
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.swift	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/002-catsnbroken.swift	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1,12 @@
+type file;
+
+app (file o) cat (file i)
+{
+  cat @i stdout=@o;
+}
+
+file out[]<simple_mapper; location=".", prefix="002-catsnbroken.",suffix=".out">;
+foreach j in [1:@toint(@arg("n","10"))] {
+  file data<"nodata.txt">;
+  out[j] = cat(data);
+}

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0001.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0001.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0001.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0002.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0002.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0002.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0003.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0003.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0003.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0004.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0004.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0004.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0005.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0005.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0005.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0006.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0006.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0006.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0007.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0007.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0007.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0008.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0008.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0008.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0009.out.expected
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0009.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.0009.out.expected	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.setup.sh
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.setup.sh	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.setup.sh	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cp $GROUP/coaster-service.conf .
+cp $GROUP/data.txt .


Property changes on: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.setup.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.swift
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.swift	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.swift	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1,12 @@
+type file;
+
+app (file o) cat (file i)
+{
+  cat @i stdout=@o;
+}
+
+file out[]<simple_mapper; location=".", prefix="003-catsn.",suffix=".out">;
+foreach j in [1:@toint(@arg("n","10"))] {
+  file data<"data.txt">;
+  out[j] = cat(data);
+}

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.timeout
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.timeout	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/003-catsn.timeout	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+999999

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/coaster-service.conf
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/coaster-service.conf	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/coaster-service.conf	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1,42 @@
+# Keep all interesting settings in one place
+# User should modify this to fit environment
+
+# Location of SWIFT. If empty, PATH is searched
+export SWIFT=
+
+# Where to copy worker.pl on the remote machine for sites.xml
+export WORKER_WORK=$HOME/swiftwork
+
+# How to launch workers: local, ssh, cobalt, or futuregrid
+export WORKER_MODE=ssh
+
+# SSH hosts to start workers on (ssh mode only)
+export WORKER_HOSTS="localhost"
+
+# Do all the worker nodes you're using have a shared filesystem? (yes/no)
+export SHARED_FILESYSTEM=yes
+
+# Username to use on worker nodes
+export WORKER_USERNAME=$USER
+
+# Enable SSH tunneling? (yes/no)
+export SSH_TUNNELING=no
+
+# Directory to keep log files, relative to working directory when launching start-coaster-service
+export LOG_DIR=logs
+
+# Manually define ports. If not specified, an available port will be used
+export LOCAL_PORT=
+export SERVICE_PORT=
+
+# start-coaster-service tries to automatically detect the IP address of this system. Specify here if you have multiple network interfaces
+export IPADDR=
+
+# Location of the swift-vm-boot scripts
+export SWIFTVMBOOT_DIR=$HOME/swift-vm-boot
+
+# Swift information for creating sites.xml
+export WORK=$HOME/swiftwork
+export QUEUE=prod-devel
+export MAXTIME=20
+export NODE=64

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/data.txt
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/data.txt	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/data.txt	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/sites.template.xml
===================================================================
--- branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/sites.template.xml	                        (rev 0)
+++ branches/release-0.93/tests/stress/persistent-coasters/pass-fail-pass/sites.template.xml	2011-09-27 19:09:41 UTC (rev 5180)
@@ -0,0 +1,9 @@
+persistent-coasters 	echo		/bin/echo		null	null	null
+persistent-coasters 	cat		/bin/cat		null	null	null
+persistent-coasters 	ls		/bin/ls			null	null	null
+persistent-coasters 	grep		/bin/grep		null	null	null
+persistent-coasters 	sort		/bin/sort		null	null	null
+persistent-coasters 	paste		/bin/paste		null	null	null
+persistent-coasters 	cp		/bin/cp	        	null	null	null
+persistent-coasters	wc		/usr/bin/wc		null	null	null
+persistent-coasters	hostname	/bin/hostname		null	null	null

Modified: branches/release-0.93/tests/suite.sh
===================================================================
--- branches/release-0.93/tests/suite.sh	2011-09-27 16:12:31 UTC (rev 5179)
+++ branches/release-0.93/tests/suite.sh	2011-09-27 19:09:41 UTC (rev 5180)
@@ -1073,17 +1073,7 @@
    
     (( SKIP_COUNTER++ < SKIP_TESTS )) && continue
 
-    TESTNAME=$( basename $TEST )
-    TESTNAMEDIR=`basename $TESTNAME .swift`-$DATE-$HOURMINSEC
-    mkdir -p $TESTNAMEDIR
-    pushd $TESTNAMEDIR > /dev/null 2>&1
 
-    cp $TEST .    
-    group_swift_properties
-    group_sites_xml
-    group_tc_data
-    group_fs_data
-
     echo
     echo
        echo "/--------------------------------------------------------------"
@@ -1092,21 +1082,33 @@
     echo
 
     # Use repeat.txt to determine number of test iterations
-    SCRIPT_BASENAME=`basename $TESTNAME .swift`
-    TESTLINK="$TESTNAMEDIR/$TESTNAME"
+    SCRIPT_BASENAME=`basename $TEST .swift`
     if [ -f "$GROUP/$SCRIPT_BASENAME.repeat" ]; then
       ITERS_LOCAL=`cat $GROUP/$SCRIPT_BASENAME.repeat`
     fi
 
     for (( i=0; $i<$ITERS_LOCAL; i=$i+1 )); do
-      HOURMINSEC=$( date +"%H%M%S" )
+
+       HOURMINSEC=$( date +"%H%M%S" )
+       TESTNAME=$( basename $TEST )
+       TESTNAMEDIR=`basename $TESTNAME .swift`-$HOURMINSEC
+       TESTLINK="$TESTNAMEDIR/$TESTNAME"
+       mkdir -p $TESTNAMEDIR
+       pushd $TESTNAMEDIR > /dev/null 2>&1
+
+       cp $TEST .    
+       group_swift_properties
+       group_sites_xml
+       group_tc_data
+       group_fs_data
+
       start_row
       swift_test_case $TESTNAME
       (( $TESTCOUNT >= $NUMBER_OF_TESTS )) && return
       (( $SHUTDOWN )) && return
       end_row
+      popd > /dev/null 2>&1
     done
-  popd > /dev/null 2>&1
   done
     group_statistics
     TOTAL_TIME=0
@@ -1120,6 +1122,11 @@
   for TEST in $SCRIPTS; do
 
     (( SKIP_COUNTER++ < SKIP_TESTS )) && continue
+    HOURMINSEC=$( date +"%H%M%S" )
+    TESTNAME=$( basename $TEST )
+    TESTNAMEDIR=`basename $TESTNAME .swift`-$HOURMINSEC
+    mkdir -p $TESTNAMEDIR
+    pushd $TESTNAMEDIR > /dev/null 2>&1
 
     TESTNAME=$( basename $TEST )
     cp -v $GROUP/$TESTNAME .




More information about the Swift-commit mailing list