summaryrefslogtreecommitdiff
path: root/tests/tr/failures
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tr/failures')
-rw-r--r--tests/tr/failures14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/tr/failures b/tests/tr/failures
new file mode 100644
index 000000000..abc78da50
--- /dev/null
+++ b/tests/tr/failures
@@ -0,0 +1,14 @@
+# ./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 ''