[BusyBox-cvs] busybox/testsuite/tr tr-d-works, NONE, 1.1 tr-non-gnu, NONE, 1.1 tr-works, NONE, 1.1
Erik Andersen
andersen at busybox.net
Tue Apr 6 11:10:27 UTC 2004
Update of /var/cvs/busybox/testsuite/tr
In directory nail:/tmp/cvs-serv13250/testsuite/tr
Added Files:
tr-d-works tr-non-gnu tr-works
Log Message:
Kill off the old 'tests' stuff. Write a ton of new tests for the
'testsuite' dir. Fix a bunch of broken tests. Fix the testsuite
'runtest' script so it actually reports all failures and provides
meaningful feedback.
-Erik
--- NEW FILE: tr-non-gnu ---
echo fdhrnzvfu bffvsentr | busybox tr '[a-z]' '[n-z][a-m]'
--- NEW FILE: tr-works ---
echo "cbaab" | tr abc zyx > logfile.gnu
echo "TESTING A B C" | tr [A-Z] [a-z] >> logfile.gnu
echo abc[] | tr a[b AXB >> logfile.gnu
echo "cbaab" | busybox tr abc zyx > logfile.bb
echo "TESTING A B C" | busybox tr [A-Z] [a-z] >> logfile.bb
echo abc[] | busybox tr a[b AXB >> logfile.bb
cmp logfile.gnu logfile.bb
--- NEW FILE: tr-d-works ---
echo testing | tr -d aeiou > logfile.gnu
echo testing | busybox tr -d aeiou > logfile.bb
cmp logfile.gnu logfile.bb
More information about the busybox-cvs
mailing list