svn commit: trunk/busybox/testsuite
vda at busybox.net
vda at busybox.net
Mon Mar 2 12:07:16 UTC 2009
Author: vda
Date: 2009-03-02 12:07:15 +0000 (Mon, 02 Mar 2009)
New Revision: 25483
Log:
tr: update testsuite
Modified:
trunk/busybox/testsuite/tr.tests
Changeset:
Modified: trunk/busybox/testsuite/tr.tests
===================================================================
--- trunk/busybox/testsuite/tr.tests 2009-03-02 12:05:57 UTC (rev 25482)
+++ trunk/busybox/testsuite/tr.tests 2009-03-02 12:07:15 UTC (rev 25483)
@@ -19,4 +19,13 @@
"tr -cd '[:xdigit:]'" \
"19AF" "" "19AFH\n"
+testing "tr does not stop after [:digit:]" \
+ "tr '[:digit:]y-z' 111111111123" \
+ "111abcx23\n" "" "789abcxyz\n"
+
+testing "tr has correct xdigit sequence" \
+ "tr '[:xdigit:]Gg' 1111111151242222333330xX" \
+ "#1111111151242222x333330X\n" "" \
+ "#0123456789ABCDEFGabcdefg\n"
+
exit $FAILCOUNT
More information about the busybox-cvs
mailing list