ASLTS: scripts: Fix directory name of Identity2MS tests

This patch fixes the Identity2MS collection's directory name of its
sub-test-cases in order to fix unexpected error occurred to the following
command:
  aslts.sh -u -m n32 -c extra_aslts
The Identity2MS test cases are located at Identity2MS/abbu, rather than
Identity2MS/extra or Identity2MS/extra_aslts. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
This commit is contained in:
Lv Zheng 2017-05-03 15:06:29 +08:00
parent e71f4639a9
commit 14a1c31432

View File

@ -362,6 +362,8 @@ get_test_case_dir()
path="`get_collection_dir "$1" $2`/ACPICA/tests/$3"
elif [ $3 == bdemo -o $3 == bdemof ]; then
path="`get_collection_dir "$1" $2`/ACPICA/$3"
elif [ $3 == extra -o $3 == extra_aslts ]; then
path="`get_collection_dir "$1" $2`/abbu"
elif [[ $3 == mt_* ]]; then
x=`echo $3 | sed 's/mt_//'g`
path="`get_collection_dir "$1" $2`/$x"