svn commit: samba r19279 - in branches/SAMBA_4_0/source/script/tests: .

brad at samba.org brad at samba.org
Sat Oct 14 20:18:53 GMT 2006


Author: brad
Date: 2006-10-14 20:18:53 +0000 (Sat, 14 Oct 2006)
New Revision: 19279

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19279

Log:
These setup and cleanup functions are general enough for any test which needs
a share to operate on, not just the qfileinfo test, so now they are named
more appropriately.


Modified:
   branches/SAMBA_4_0/source/script/tests/test_win.sh


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_win.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_win.sh	2006-10-14 19:25:14 UTC (rev 19278)
+++ branches/SAMBA_4_0/source/script/tests/test_win.sh	2006-10-14 20:18:53 UTC (rev 19279)
@@ -18,7 +18,7 @@
 # I was finding that "cat common.exp wintest_setup.exp | expect -f -"
 # fails to run, but exits with 0 status something like 1% of the time.
 
-setup_qfileinfo_test()
+setup_share_test()
 {
 	echo -e "\nSetting up windows environment."
 	cat $WINTEST_DIR/common.exp > $TMPDIR/setup.exp
@@ -29,7 +29,7 @@
 }
 
 # Clean up the windows environment after the test has run or failed.
-remove_qfileinfo_test()
+remove_share_test()
 {
 	echo -e "\nCleaning up windows environment."
 	cat $WINTEST_DIR/common.exp > $TMPDIR/remove.exp
@@ -59,7 +59,7 @@
 test_name="RAW-QFILEINFO / WINDOWS SERVER"
 echo -e "\n$test_name SETUP PHASE"
 
-setup_qfileinfo_test
+setup_share_test
 
 if [ $err_rtn -ne 0 ]; then
 	# If test setup fails, load VM snapshot and skip test.



More information about the samba-cvs mailing list