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
This commit is contained in:
Eric Andersen
2004-04-06 11:10:30 +00:00
parent 39396b95fc
commit 650fe63467
83 changed files with 316 additions and 1570 deletions

4
testsuite/tr/tr-d-works Normal file
View File

@@ -0,0 +1,4 @@
echo testing | tr -d aeiou > logfile.gnu
echo testing | busybox tr -d aeiou > logfile.bb
cmp logfile.gnu logfile.bb

1
testsuite/tr/tr-non-gnu Normal file
View File

@@ -0,0 +1 @@
echo fdhrnzvfu bffvsentr | busybox tr '[a-z]' '[n-z][a-m]'

9
testsuite/tr/tr-works Normal file
View File

@@ -0,0 +1,9 @@
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