testsuite: typo in tr.tests
Hi tr.tests script from bb 1.17 testsuite has wrong "optional" conditional clauses. As result, some tr tests was skipped even if CONFIG_FEATURE_TR_CLASSES=y. Patch attached fixes problem for me. - Leonid Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
This commit is contained in:
parent
64b6f7cfba
commit
1538c975ec
@ -26,7 +26,7 @@
|
|||||||
# number of failed tests.
|
# number of failed tests.
|
||||||
|
|
||||||
# The "optional" function is used to skip certain tests, ala:
|
# The "optional" function is used to skip certain tests, ala:
|
||||||
# optional CONFIG_FEATURE_THINGY
|
# optional FEATURE_THINGY
|
||||||
#
|
#
|
||||||
# The "optional" function checks the environment variable "OPTIONFLAGS",
|
# The "optional" function checks the environment variable "OPTIONFLAGS",
|
||||||
# which is either empty (in which case it always clears SKIP) or
|
# which is either empty (in which case it always clears SKIP) or
|
||||||
|
@ -15,19 +15,19 @@ testing "tr understands 0-9A-F" \
|
|||||||
"tr -cd '[0-9A-F]'" \
|
"tr -cd '[0-9A-F]'" \
|
||||||
"19AF" "" "19AFH\n"
|
"19AF" "" "19AFH\n"
|
||||||
|
|
||||||
optional CONFIG_FEATURE_TR_CLASSES
|
optional FEATURE_TR_CLASSES
|
||||||
testing "tr understands [:xdigit:]" \
|
testing "tr understands [:xdigit:]" \
|
||||||
"tr -cd '[:xdigit:]'" \
|
"tr -cd '[:xdigit:]'" \
|
||||||
"19AF" "" "19AFH\n"
|
"19AF" "" "19AFH\n"
|
||||||
SKIP=
|
SKIP=
|
||||||
|
|
||||||
optional CONFIG_FEATURE_TR_CLASSES
|
optional FEATURE_TR_CLASSES
|
||||||
testing "tr does not stop after [:digit:]" \
|
testing "tr does not stop after [:digit:]" \
|
||||||
"tr '[:digit:]y-z' 111111111123" \
|
"tr '[:digit:]y-z' 111111111123" \
|
||||||
"111abcx23\n" "" "789abcxyz\n"
|
"111abcx23\n" "" "789abcxyz\n"
|
||||||
SKIP=
|
SKIP=
|
||||||
|
|
||||||
optional CONFIG_FEATURE_TR_CLASSES
|
optional FEATURE_TR_CLASSES
|
||||||
testing "tr has correct xdigit sequence" \
|
testing "tr has correct xdigit sequence" \
|
||||||
"tr '[:xdigit:]Gg' 1111111151242222333330xX" \
|
"tr '[:xdigit:]Gg' 1111111151242222333330xX" \
|
||||||
"#1111111151242222x333330X\n" "" \
|
"#1111111151242222x333330X\n" "" \
|
||||||
|
Loading…
Reference in New Issue
Block a user