diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-06-22 17:33:03 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-06-22 17:33:03 -0400 |
commit | 2148a7204af4d0d5e0e0a19bb2b3a1d1ac9af3a8 (patch) | |
tree | 7e1366091f561ed9df0c634c8753c8ee3a98a202 | |
parent | 8a8c4b9dd8a029950f76fd2a95b667d4c43c5a0f (diff) | |
download | phoronix-test-suite-upstream-2148a7204af4d0d5e0e0a19bb2b3a1d1ac9af3a8.tar.gz phoronix-test-suite-upstream-2148a7204af4d0d5e0e0a19bb2b3a1d1ac9af3a8.tar.xz phoronix-test-suite-upstream-2148a7204af4d0d5e0e0a19bb2b3a1d1ac9af3a8.zip |
Add man page for phoronix-test-suite. Man pages found in
documentation/man-pages/
-rw-r--r-- | CHANGE-LOG | 4 | ||||
-rw-r--r-- | documentation/man-pages/phoronix-test-suite.1.gz | bin | 0 -> 2118 bytes | |||
-rwxr-xr-x | install-sh | 4 | ||||
-rwxr-xr-x | phoronix-test-suite | 2 | ||||
-rw-r--r-- | pts-core/functions/pts-functions.php | 2 |
5 files changed, 10 insertions, 2 deletions
@@ -1,5 +1,9 @@ PHORONIX TEST SUITE CHANGE-LOG +Phoronix Test Suite + +- Add man page for phoronix-test-suite. Man pages found in documentation/man-pages/ + Phoronix Test Suite 1.0.1 June 19, 2008 diff --git a/documentation/man-pages/phoronix-test-suite.1.gz b/documentation/man-pages/phoronix-test-suite.1.gz Binary files differnew file mode 100644 index 0000000..4839a9d --- /dev/null +++ b/documentation/man-pages/phoronix-test-suite.1.gz @@ -10,6 +10,7 @@ else fi mkdir -p $INSTALL_PREFIX/bin/ +mkdir -p $INSTALL_PREFIX/share/man/man1/ mkdir -p $INSTALL_PREFIX/share/phoronix-test-suite/ mkdir -p $INSTALL_PREFIX/share/doc/phoronix-test-suite/ @@ -19,6 +20,9 @@ cp COPYING $INSTALL_PREFIX/share/doc/phoronix-test-suite/ cd documentation/ cp -r * $INSTALL_PREFIX/share/doc/phoronix-test-suite/ cd .. +rm -rf $INSTALL_PREFIX/share/doc/phoronix-test-suite/man-pages/ + +cp documentation/man-pages/*.1.gz $INSTALL_PREFIX/share/man/man1/ cp -r pts/ $INSTALL_PREFIX/share/phoronix-test-suite/ rm -f $INSTALL_PREFIX/share/phoronix-test-suite/pts/etc/scripts/package-build-* diff --git a/phoronix-test-suite b/phoronix-test-suite index 1a08193..de29eca 100755 --- a/phoronix-test-suite +++ b/phoronix-test-suite @@ -120,7 +120,7 @@ case "$1" in "list-results" | "list-saved-results") $PHP_BIN pts-core/pts-run-cmd.php LIST_SAVED_RESULTS ;; -"show-result") +"show-result" | "show-results" | "view-result" | "view-results") $PHP_BIN pts-core/pts-run-cmd.php SHOW_RESULT $2 ;; "info" | "suite-info" | "suite-information" | "test-info" | "test-information") diff --git a/pts-core/functions/pts-functions.php b/pts-core/functions/pts-functions.php index f13a402..27d190c 100644 --- a/pts-core/functions/pts-functions.php +++ b/pts-core/functions/pts-functions.php @@ -570,7 +570,7 @@ function pts_bool_question($question, $default = true, $question_id = "UNKNOWN") } function pts_clean_information_string($str) { - $remove_phrases = array("Corporation ", " Technologies", ",", "Technology ", "version ", "Processor ", "Computer ", "processor ", "Genuine ", "Unknown device ", "(R)", "(TM)", "(tm)", "Inc. ", "INC. ", "Inc ", " inc.", "/PCI/SSE2", "CO. LTD "); + $remove_phrases = array("Corporation ", " Technologies", ",", "Technology ", "version ", "Processor ", "Computer ", "processor ", "Genuine ", "Unknown device ", "(R)", "(TM)", "(tm)", "Inc. ", "INC. ", "Inc ", " inc.", "/PCI/SSE2/3DNOW!", "/PCI/SSE2", "CO. LTD ", "Co. Ltd. "); $str = str_replace($remove_phrases, " ", $str); $change_phrases = array("Memory Controller Hub" => "MCH", "Advanced Micro Devices" => "AMD", "MICRO-STAR INTERNATIONAL" => "MSI", "Silicon Integrated Systems" => "SiS", "Integrated Graphics Controller" => "IGP"); |