]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Tue, 2 Mar 1993 14:41:40 +0000 (14:41 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 2 Mar 1993 14:41:40 +0000 (14:41 +0000)
tests/tr/TODO [new file with mode: 0644]
tests/tr/range-tests [new file with mode: 0644]

diff --git a/tests/tr/TODO b/tests/tr/TODO
new file mode 100644 (file)
index 0000000..e1cffb7
--- /dev/null
@@ -0,0 +1 @@
+Integrate tests from the files `range-tests' and `failures'.
diff --git a/tests/tr/range-tests b/tests/tr/range-tests
new file mode 100644 (file)
index 0000000..d11c37e
--- /dev/null
@@ -0,0 +1,16 @@
+[]*]     # What about this?!
+[:*096]  # invalid: 096 isn't a valid octal number
+[:*0]    # as many colons as string1 was long
+[:*]     # ditto
+[:*016]  # 14 colons (valid only as second arg)
+[=]=]    # valid: equivalence class containing ']'
+[-a      # valid, assuming `[' is before 'a' in collating sequence
+ -]      # valid, assuming ` ' is before ']' in collating sequence
+--]      # valid, assuming `-' is before ']' in collating sequence
+\0-\377  # valid
+[\0-\377]# valid, (assuming other string has brackets in same positions)
+abcde[:* # valid, but none of the characters is considered special
+abc xyzdef # should this (str2 longer than str1) evoke a warning?
+           # Probably so if we're only translating, but if deleting or
+          # squeezing this might make sense.
+abcdef : # should map abcdef all to `:', as if str2 had been [:*]