diff options
author | Jim Meyering <jim@meyering.net> | 1993-03-02 14:41:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-03-02 14:41:40 +0000 |
commit | 3855a212131ba1ae0432abc0bbcd0422641f48f5 (patch) | |
tree | a304d3fe2911a5b10ca90b32908a7d654479e23d | |
parent | 8a010c44a5cba51009965a00ea4677f9fd73043a (diff) | |
download | coreutils-3855a212131ba1ae0432abc0bbcd0422641f48f5.tar.xz |
.
-rw-r--r-- | tests/tr/TODO | 1 | ||||
-rw-r--r-- | tests/tr/range-tests | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/tr/TODO b/tests/tr/TODO new file mode 100644 index 000000000..e1cffb784 --- /dev/null +++ b/tests/tr/TODO @@ -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 index 000000000..d11c37e12 --- /dev/null +++ b/tests/tr/range-tests @@ -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 [:*] |