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

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Fri 11/28/14 19:21

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Fri 11/28/14 19:21
Michael Larabel  
phoromatic: Give time to... 
Fri 11/28/14 19:04
Michael Larabel  
phoromatic: Allow... 
Fri 11/28/14 18:41
Michael Larabel  
phoromatic: Styling fixes... 
Fri 11/28/14 14:30
Michael Larabel  
phoromatic: Add sleep... 
Fri 11/28/14 13:03
Michael Larabel  
phoromatic: Need to pass... 
Fri 11/28/14 12:20
Michael Larabel  
phoromatic: Upstart job... 
 
> --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