Subrata Modak1 wrote:
> Dear Jeff,
> 
> Request you to kindly put the result of "diff -uprN" into a "
> <patch-file-name>.patch" and send across for this issue too.
> 
> 
> Regards & Thanks--
> Subrata Modak,
> ====================================
> ====================================

Subrata,
        I have done what you requested. Here is the patch.

Thanks,
Jeff
--- ltp-full-20070228/runltp.orig	2007-04-04 10:50:34.000000000 -0400
+++ ltp-full-20070228/runltp	2007-04-04 10:50:59.000000000 -0400
@@ -32,7 +32,7 @@
 #                
 #               Oct 08 2003 - Modified - Manoj Iyer
 #               - fixed bug in creating results directory
-#               - all checks should be enlclosed in  " " to avoid bash error
+#               - all checks should be enlclosed in " " to avoid bash error
 #               - exit with error if pan is not found in pan directory
 
 
@@ -65,8 +65,8 @@ setup()
 
 version_of_ltp()
 {
-head -n 1  $LTPROOT/ChangeLog
-exit 0
+    head -n 1  $LTPROOT/ChangeLog
+    exit 0
 }
 
 usage() 
@@ -91,7 +91,7 @@ usage() 
     -p              Human readable format logfiles. 
     -q              Print less verbose output to screen.
     -r LTPROOT      Fully qualified path where testsuite is installed.
-    -s PATTERN       Only run test cases which match PATTERN.
+    -s PATTERN      Only run test cases which match PATTERN.
     -t DURATION     Execute the testsuite for given duration. Examples:
                       -t 60s = 60 seconds
                       -t 45m = 45 minutes
@@ -107,7 +107,6 @@ usage() 
 exit 0
 }
 
-
 main()
 {
     local CMDFILE=""
@@ -156,7 +155,6 @@ main()
             GENLOAD=1 ;;
     
         l)      
-
             echo "INFO: creating $LTPROOT/results directory"
             [ ! -d $LTPROOT/results ] && \
             {
@@ -227,8 +225,10 @@ main()
 	    exit 1
 	fi
     fi    
-        
-    mkdir -p $TMP || \
+
+    # Added -m 777 for tests that call tst_tmpdir() and try to 
+    #  write to it as user nobody
+    mkdir -m 777 -p $TMP || \
     {
         echo "FATAL: Unable to make temporary directory $TMP"
         exit 1
@@ -352,8 +352,6 @@ main()
         echo "WARNING: required users and groups not present"
         echo "WARNING: some test cases may fail"
     }
-    
-    
        
     # display versions of installed software
     [ -z "$QUIET_MODE" ] && \
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to