summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-03-02 14:48:18 +0000
committerJim Meyering <jim@meyering.net>1993-03-02 14:48:18 +0000
commit90a29529827d931af370fdc07053d214fec440bf (patch)
treec73896b08f7b6abfd71fb400e7e82a7a74b7a119
parent3855a212131ba1ae0432abc0bbcd0422641f48f5 (diff)
downloadcoreutils-90a29529827d931af370fdc07053d214fec440bf.tar.xz
.
-rw-r--r--tests/tr/failures26
1 files changed, 15 insertions, 11 deletions
diff --git a/tests/tr/failures b/tests/tr/failures
index abc78da50..8e806dbef 100644
--- a/tests/tr/failures
+++ b/tests/tr/failures
@@ -1,14 +1,18 @@
# ./tr a '[c*]b'
# ./tr -s abc zy
# ./tr abc zy
-tr a '[:not-a-class:]'
-tr a '[:digit:]'
-tr '[c*]' k
-tr a '[=c=]'
-tr a '[c*][c*]'
-tr -ds abd '[c*]'
-tr -c '[:lower:]' '[:upper:]'
-tr '[:lower:]' '[:lower:]'
-tr '0-9[:lower:]' '[:upper:]'
-tr -s '\432'
-tr a ''
+tr a '[:not-a-class:]' < /dev/null
+tr a '[:digit:]' < /dev/null
+tr '[c*]' k < /dev/null
+tr a '[=c=]' < /dev/null
+tr a '[c*][c*]' < /dev/null
+tr -ds abd '[c*]' < /dev/null
+tr -c '[:lower:]' '[:upper:]' < /dev/null
+tr '[:lower:]' '[:lower:]' < /dev/null
+tr '0-9[:lower:]' '[:upper:]' < /dev/null
+tr a '' < /dev/null
+tr -s '\432' < /dev/null
+tr a 'abc\' < /dev/null
+tr a '\x' < /dev/null
+
+# And make sure tr does the right thing when POSIXLY_... is set.