busybox/testsuite/tr/tr-works
Eric Andersen 650fe63467 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
2004-04-06 11:10:30 +00:00

10 lines
314 B
Plaintext

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