[Swift-commit] cog r3876

swift at ci.uchicago.edu swift at ci.uchicago.edu
Fri Feb 21 10:30:05 CST 2014


------------------------------------------------------------------------
r3876 | yadunand | 2014-02-21 10:26:47 -0600 (Fri, 21 Feb 2014) | 4 lines


Committing updated tests.


------------------------------------------------------------------------
Index: modules/provider-coaster-c-client/tests/tcl/setup.sh
===================================================================
--- modules/provider-coaster-c-client/tests/tcl/setup.sh	(revision 0)
+++ modules/provider-coaster-c-client/tests/tcl/setup.sh	(revision 3876)
@@ -0,0 +1 @@
+export TCLLIBPATH="$PWD/../../tcl/"
\ No newline at end of file
Index: modules/provider-coaster-c-client/tests/tcl/coaster-test-4.tcl
===================================================================
--- modules/provider-coaster-c-client/tests/tcl/coaster-test-4.tcl	(revision 3875)
+++ modules/provider-coaster-c-client/tests/tcl/coaster-test-4.tcl	(working copy)
@@ -8,7 +8,7 @@
 puts "Error code from CoasterSWIGClientSettings "
 puts $x
 
-set job1 [CoasterSWIGJobCreate "/bin/hostname"]
+set job1 [CoasterSWIGJobCreate "/bin/hostname" ""]
 puts "Job set to /bin/hostname"
 
 set rcode [CoasterSWIGSubmitJob $client_ptr $job1]
Index: modules/provider-coaster-c-client/tests/tcl/coaster-test-5.tcl
===================================================================
--- modules/provider-coaster-c-client/tests/tcl/coaster-test-5.tcl	(revision 3875)
+++ modules/provider-coaster-c-client/tests/tcl/coaster-test-5.tcl	(working copy)
@@ -8,7 +8,7 @@
 puts "Error code from CoasterSWIGClientSettings "
 puts $x
 
-set job1 [CoasterSWIGJobCreate "/bin/hostname"]
+set job1 [CoasterSWIGJobCreate "/bin/hostname" ""]
 puts "Job set to /bin/hostname"
 
 set rcode [CoasterSWIGSubmitJob $client_ptr $job1]
Index: modules/provider-coaster-c-client/tests/tcl/coaster-test-6.tcl
===================================================================
--- modules/provider-coaster-c-client/tests/tcl/coaster-test-6.tcl	(revision 3875)
+++ modules/provider-coaster-c-client/tests/tcl/coaster-test-6.tcl	(working copy)
@@ -7,7 +7,7 @@
 set x [CoasterSWIGClientSettings $client_ptr "SLOTS=1,MAX_NODES=1,JOBS_PER_NODE=2"]
 puts "Error code from CoasterSWIGClientSettings $x"
 
-set job1 [CoasterSWIGJobCreate "/bin/hostname"]
+set job1 [CoasterSWIGJobCreate "/bin/hostname" ""]
 puts "Job set to /bin/hostname"
 
 set rcode [CoasterSWIGJobSettings $job1 "" "" "" "" \
Index: modules/provider-coaster-c-client/tests/tcl/coaster-test-7.tcl
===================================================================
--- modules/provider-coaster-c-client/tests/tcl/coaster-test-7.tcl	(revision 3875)
+++ modules/provider-coaster-c-client/tests/tcl/coaster-test-7.tcl	(working copy)
@@ -7,7 +7,7 @@
 set x [CoasterSWIGClientSettings $client_ptr "SLOTS=1,MAX_NODES=1,JOBS_PER_NODE=2"]
 puts "Error code from CoasterSWIGClientSettings $x"
 
-set job1 [CoasterSWIGJobCreate "/bin/hostname"]
+set job1 [CoasterSWIGJobCreate "/bin/hostname" ""]
 puts "Job set to /bin/hostname"
 
 set rcode [CoasterSWIGJobSettings $job1 "" "-f" "" "" \
Index: modules/provider-coaster-c-client/tests/tcl/coaster-test-8.tcl
===================================================================
--- modules/provider-coaster-c-client/tests/tcl/coaster-test-8.tcl	(revision 3875)
+++ modules/provider-coaster-c-client/tests/tcl/coaster-test-8.tcl	(working copy)
@@ -6,7 +6,7 @@
 puts "Error code from CoasterSWIGClientSettings $x"
 
 # Job stuff
-set job1 [CoasterSWIGJobCreate "/bin/echo"]
+set job1 [CoasterSWIGJobCreate "/bin/echo" ""]
 puts "Job set to /bin/hostname"
 set rcode [CoasterSWIGJobSettings $job1 "" "hello world how are you \$USERNAME \$RANDOM \$HOSTNAME" "" "" \
                                   "/homes/yadunand/swift-trunk/cog/modules/provider-coaster-c-client/tests/tcl/stdout" \
Index: modules/provider-coaster-c-client/tests/tcl/coaster-test-9.tcl
===================================================================
--- modules/provider-coaster-c-client/tests/tcl/coaster-test-9.tcl	(revision 3875)
+++ modules/provider-coaster-c-client/tests/tcl/coaster-test-9.tcl	(working copy)
@@ -6,7 +6,7 @@
 puts "Error code from CoasterSWIGClientSettings $x"
 
 # Job stuff
-set job1 [CoasterSWIGJobCreate "/bin/echo"]
+set job1 [CoasterSWIGJobCreate "/bin/echo" ""]
 puts "Job set to /bin/hostname"
 set rcode [CoasterSWIGJobSettings $job1 "" "hello world how are you \\\$USERNAME \\\$RANDOM \\\$HOSTNAME" "" "" \
                                   "/homes/yadunand/swift-trunk/cog/modules/provider-coaster-c-client/tests/tcl/stdout" \
Index: modules/provider-coaster-c-client/tests/tcl/coaster-loop-start-stop.tcl
===================================================================
--- modules/provider-coaster-c-client/tests/tcl/coaster-loop-start-stop.tcl	(revision 3875)
+++ modules/provider-coaster-c-client/tests/tcl/coaster-loop-start-stop.tcl	(working copy)
@@ -1,7 +1,7 @@
 load ../../src/.libs/libcoasterclient.so
 
 set loop_ptr [CoasterSWIGLoopCreate]
-set client_ptr [CoasterSWIGClientCreate $loop_ptr 140.221.8.81:40568]
+set client_ptr [CoasterSWIGClientCreate $loop_ptr 127.0.0.1:53001]
 
 set rcode [CoasterSWIGClientDestroy $client_ptr]
 set rcode [CoasterSWIGLoopDestroy $loop_ptr]
Index: modules/provider-coaster-c-client/tests/tcl/coaster-jobs.tcl
===================================================================
--- modules/provider-coaster-c-client/tests/tcl/coaster-jobs.tcl	(revision 3875)
+++ modules/provider-coaster-c-client/tests/tcl/coaster-jobs.tcl	(working copy)
@@ -1,11 +1,11 @@
 load ../../src/.libs/libcoasterclient.so
 
 set loop_ptr [CoasterSWIGLoopCreate]
-set client_ptr [CoasterSWIGClientCreate $loop_ptr 140.221.8.81:40568]
+set client_ptr [CoasterSWIGClientCreate $loop_ptr 140.221.8.81:53001]
 
 set x [CoasterSWIGClientSettings $client_ptr "SLOTS=1,MAX_NODES=1"]
 
-set job1_ptr [CoasterSWIGJobCreate "/bin/hostname"]
+set job1_ptr [CoasterSWIGJobCreate "/bin/hostname" ""]
 
 set returncode [CoasterSWIGSubmitJob $client_ptr $job1_ptr]
 
Index: modules/provider-coaster-c-client/tests/tcl/coaster-test-10.tcl
===================================================================
--- modules/provider-coaster-c-client/tests/tcl/coaster-test-10.tcl	(revision 3875)
+++ modules/provider-coaster-c-client/tests/tcl/coaster-test-10.tcl	(working copy)
@@ -6,7 +6,7 @@
 puts "Error code from CoasterSWIGClientSettings $x"
 
 # Job stuff
-set job1 [CoasterSWIGJobCreate "/bin/echo"]
+set job1 [CoasterSWIGJobCreate "/bin/echo" ""]
 puts "Job set to /bin/hostname"
 
 set stdout_dst "/homes/yadunand/swift-trunk/cog/modules/provider-coaster-c-client/tests/tcl/stdout"
Index: modules/provider-coaster-c-client/tests/tcl/coaster-test-11.tcl
===================================================================
--- modules/provider-coaster-c-client/tests/tcl/coaster-test-11.tcl	(revision 3875)
+++ modules/provider-coaster-c-client/tests/tcl/coaster-test-11.tcl	(working copy)
@@ -6,7 +6,7 @@
 puts "Error code from CoasterSWIGClientSettings $x"
 
 # Job stuff
-set job1 [CoasterSWIGJobCreate "/bin/bash"]
+set job1 [CoasterSWIGJobCreate "/bin/bash" ""]
 
 puts "Job cmd set"
 set stdout_dst "/homes/yadunand/swift-trunk/cog/modules/provider-coaster-c-client/tests/tcl/stdout"
Index: modules/provider-coaster-c-client/tests/tcl/coaster-test-12.tcl
===================================================================
--- modules/provider-coaster-c-client/tests/tcl/coaster-test-12.tcl	(revision 3875)
+++ modules/provider-coaster-c-client/tests/tcl/coaster-test-12.tcl	(working copy)
@@ -6,8 +6,8 @@
 puts "Error code from CoasterSWIGClientSettings $x"
 
 # Job stuff
-set job1 [CoasterSWIGJobCreate "/bin/bash"]
-set job2 [CoasterSWIGJobCreate "/bin/bash"]
+set job1 [CoasterSWIGJobCreate "/bin/bash" ""]
+set job2 [CoasterSWIGJobCreate "/bin/bash" "fork"]
 puts "Job cmd set"
 set stdout_dst1 "/homes/yadunand/swift-trunk/cog/modules/provider-coaster-c-client/tests/tcl/stdout1"
 set stderr_dst1 "/homes/yadunand/swift-trunk/cog/modules/provider-coaster-c-client/tests/tcl/stderr1"



More information about the Swift-commit mailing list