[bug] patch for build_farm/build_test.fns to log correct return code

SATOH Fumiyasu fumiya at miraclelinux.com
Mon Oct 27 15:31:32 GMT 2003


Hi,

I'm trying to use the testsuite for Samba 3.0 and found a problem of
build_farm/build_test.fns script. Please apply the attached patch
to build_farm/build_test.fns on samba.org.

P.S. I'm trying to submit this bug to:
    https://bugzilla.samba.org/enter_bug.cgi?product=BuildFarm
, but Bugzilla shows the following error message:

    Error
    Sorry; there needs to be at least one component for this
    product in order to create a new bug. Please contact Gerald Carter,
    detailing the product in which you tried to create a new bug. 

-------------- next part --------------
--- build_test.fns.dist	2003-08-31 08:40:28.000000000 +0900
+++ build_test.fns	2003-10-28 00:15:28.000000000 +0900
@@ -195,10 +195,10 @@
 	    if [ $tstatus != 0 ]; then
 	        FAILED_TESTS="$FAILED_TESTS $test"
 		echo "=========================================" 
-		echo "TEST FAILED: $test (status $?)" 
+		echo "TEST FAILED: $test (status $tstatus)" 
 		echo "========================================="
 		echo "=========================================" >> $logfile
-		echo "TEST FAILED: $test (status $?)" >> $logfile
+		echo "TEST FAILED: $test (status $tstatus)" >> $logfile
 		echo "=========================================" >> $logfile
 	    fi
 


More information about the samba-technical mailing list