diff options
author | Shaoyong Wang <shaoyongx.wang@intel.com> | 2012-07-23 11:03:18 +0800 |
---|---|---|
committer | Chen Gong <gong.chen@linux.intel.com> | 2012-07-31 05:23:21 +0800 |
commit | d62a3c47a6ce72e5c034665864f7432b0a51499f (patch) | |
tree | f516b326ad86a7c715c79c9a51b3edec7e7da88f | |
parent | 1d474a9964b15e7986301f4c70dc14794d1df769 (diff) | |
download | mce-test-d62a3c47a6ce72e5c034665864f7432b0a51499f.tar.gz |
Fix matching issue when selecting test cases from the menu
Old logic will filter out comment lines and the words containing
on/off letters in case list files when executing case selecting.
Signed-off-by: Shaoyong Wang <shaoyongx.wang@intel.com>
Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
-rwxr-xr-x | mcemenu | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -346,7 +346,7 @@ ras_scenarios() done) #remove the first prefix "\|" TMPMODE=${TMPMODE:2} - sed -i -e "s/\(.*\)on/\1off/g" $SCENARIO_DIR/$scenario + sed -i -e "s/\(^[^#].*\)on$/\1off/g" $SCENARIO_DIR/$scenario if [ X${TMPMODE} != X ]; then sed -i -e "s/\(\(${TMPMODE}\).*\)off/\1on/g" \ $SCENARIO_DIR/$scenario |