projects / phoronix-test-suite.git / commitdiff
Build Results
 
Summary

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Mon 9/22/14 16:14

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Mon 9/22/14 16:14
Michael Larabel  
pts-core: Missing file... 
Mon 9/22/14 15:24
Michael Larabel  
Bump PTS_CORE_VERSION... 
Mon 9/22/14 15:02
Michael Larabel  
pts-core: Allow Phoronix... 
Mon 9/22/14 13:23
Michael Larabel  
pts-core: Convert to a... 
Mon 9/22/14 10:15
Michael Larabel  
pts-core: Add "failed to... 
Mon 9/22/14 10:08
Michael Larabel  
pts-core: From copy and... 
 
> --git a/pts-core/pts-run-cmd.php b/pts-core/pts-run-cmd.php
index 4e8c9da
..8ff6b7f 100644
--- a/pts-core/pts-run-cmd.php
+++ b/pts-core/pts-run-cmd.php
@@ -146,+146,10 @@ switch($COMMAND)
         break;
     case 
"INITIAL_CONFIG":
         if(
is_file(PTS_USER_DIR "user-config.xml"))
+        {
+            
copy(PTS_USER_DIR "user-config.xml"PTS_USER_DIR "user-config.xml.old");
             
unlink(PTS_USER_DIR "user-config.xml");
+        }
         
pts_user_config_init();
         break;
     case 
"REMOTE_COMPARISON":
@@ -
154,+157,@@ switch($COMMAND)
         echo 
"merge-results <Saved File 1 OR Global ID> <Saved File 2 OR Global ID> <Save To>: Merge two saved result sets";
         break;
     default:
-        echo 
"Phoronix Test Suite: Internal Error. Not Recognized Command ($COMMAND).\n";
+        echo 
"Phoronix Test Suite: Internal Error. Command Not Recognized ($COMMAND).\n";
 }

 
 
Phoronix.com
Linux Driver Forums
Copyright © 2014 by Phoronix Media