]> mj.ucw.cz Git - libucw.git/blob - ucw/string.t
Logging: Log file established log_file() is always dup'ed as stderr.
[libucw.git] / ucw / string.t
1 # Tests of string routines
2
3 Run:    ../obj/ucw/str-hex-t
4 Out:    FEEDF00D
5         fe:ed:f0:0d
6         feedf00d
7
8 Run:    ../obj/ucw/str-esc-t '12\r\n\000\\\xff'
9 Out:    31 32 0d 0a 00 5c ff
10
11 Run:    ../obj/ucw/str-esc-t '\100\10a\1a'
12 Out:    40 08 61 01 61
13
14 Run:    ../obj/ucw/str-esc-t '\a\b\f\r\n\t\v\?\"'"\\'"
15 Out:    07 08 0c 0d 0a 09 0b 3f 22 27