diff options
author | Shaoyong Wang <shaoyongx.wang@intel.com> | 2012-07-23 11:03:18 +0800 |
---|---|---|
committer | Chen, Gong <gong.chen@linux.intel.com> | 2015-01-21 21:23:59 -0500 |
commit | 3793ad983b1fe2873c55c6a4066669d2b95fc871 (patch) | |
tree | f516b326ad86a7c715c79c9a51b3edec7e7da88f | |
parent | 8167729e92f952e50c38e22b554cff21d9ad168d (diff) | |
download | mce-test-3793ad983b1fe2873c55c6a4066669d2b95fc871.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 |