aboutsummaryrefslogtreecommitdiff
path: root/testsuite/tr.tests
diff options
context:
space:
mode:
authorLeonid Lisovskiy <lly.dev@gmail.com>2010-07-29 11:05:30 +0400
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-07-29 10:11:09 +0200
commit1538c975ec127efc368284abe0777006719bf505 (patch)
treec933052f1313c93246c5541064e8efc4aaa7bf40 /testsuite/tr.tests
parent64b6f7cfbafb66c0b9be08a30ec348579f17052a (diff)
downloadbusybox-1538c975ec127efc368284abe0777006719bf505.tar.gz
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>
Diffstat (limited to 'testsuite/tr.tests')
-rwxr-xr-xtestsuite/tr.tests6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tr.tests b/testsuite/tr.tests
index a1f83bfc6..5dabbb52f 100755
--- a/testsuite/tr.tests
+++ b/testsuite/tr.tests
@@ -15,19 +15,19 @@ testing "tr understands 0-9A-F" \
"tr -cd '[0-9A-F]'" \
"19AF" "" "19AFH\n"
-optional CONFIG_FEATURE_TR_CLASSES
+optional FEATURE_TR_CLASSES
testing "tr understands [:xdigit:]" \
"tr -cd '[:xdigit:]'" \
"19AF" "" "19AFH\n"
SKIP=
-optional CONFIG_FEATURE_TR_CLASSES
+optional FEATURE_TR_CLASSES
testing "tr does not stop after [:digit:]" \
"tr '[:digit:]y-z' 111111111123" \
"111abcx23\n" "" "789abcxyz\n"
SKIP=
-optional CONFIG_FEATURE_TR_CLASSES
+optional FEATURE_TR_CLASSES
testing "tr has correct xdigit sequence" \
"tr '[:xdigit:]Gg' 1111111151242222333330xX" \
"#1111111151242222x333330X\n" "" \