diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-11-13 10:50:28 -0500 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-11-13 10:50:28 -0500 |
commit | 2be7b372344a116d02314b469813aeef84719b22 (patch) | |
tree | 5badeecea5daa5f42272ef2b0e10959b055208ba | |
parent | 8d65c91a513dcdd75778f0f0cf44834f7f59c530 (diff) | |
download | phoronix-test-suite-upstream-2be7b372344a116d02314b469813aeef84719b22.tar.gz phoronix-test-suite-upstream-2be7b372344a116d02314b469813aeef84719b22.tar.xz phoronix-test-suite-upstream-2be7b372344a116d02314b469813aeef84719b22.zip |
pts-core: Rename hal-remove-words.txt to hal-values-remove.txt
-rw-r--r-- | TYDAL-CHANGE-LOG | 2 | ||||
-rw-r--r-- | pts-core/functions/pts-functions_system_parsing.php | 4 | ||||
-rw-r--r-- | pts-core/static/hal-values-remove.txt (renamed from pts-core/static/hal-remove-words.txt) | 0 |
3 files changed, 3 insertions, 3 deletions
diff --git a/TYDAL-CHANGE-LOG b/TYDAL-CHANGE-LOG index 3f4ec92..1806101 100644 --- a/TYDAL-CHANGE-LOG +++ b/TYDAL-CHANGE-LOG @@ -17,4 +17,4 @@ Phoronix Test Suite (Git) - pts-core: Remove pts-run-test.php now that now that its code is modularized as option run_test - pts-core: Relocate initialization code to be called from phoronix-test-suite.php - pts-core: Add STATIC_DIR (pts-core/static/) for some static files -- pts-core: Add static/hal-remove-words.txt to contain a list of all HAL strings to remove if found, instead of having it coded within an array +- pts-core: Add static/hal-values-remove.txt to contain a list of all HAL strings to remove if found, instead of having it coded within an array diff --git a/pts-core/functions/pts-functions_system_parsing.php b/pts-core/functions/pts-functions_system_parsing.php index f9b5274..e0c4aff 100644 --- a/pts-core/functions/pts-functions_system_parsing.php +++ b/pts-core/functions/pts-functions_system_parsing.php @@ -63,9 +63,9 @@ function read_hal($name, $UDI = null) { $name = array($name); } - if(empty($remove_words) && is_file(STATIC_DIR . "hal-remove-words.txt")) + if(empty($remove_words) && is_file(STATIC_DIR . "hal-values-remove.txt")) { - $word_file = trim(file_get_contents(STATIC_DIR . "hal-remove-words.txt")); + $word_file = trim(file_get_contents(STATIC_DIR . "hal-values-remove.txt")); $remove_words = array_map("trim", explode("\n", $word_file)); } diff --git a/pts-core/static/hal-remove-words.txt b/pts-core/static/hal-values-remove.txt index f0ca77b..f0ca77b 100644 --- a/pts-core/static/hal-remove-words.txt +++ b/pts-core/static/hal-values-remove.txt |