Debian Codegraph @

doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/utf_kernel_trunc.exp

raw
1 set test "utf_kernel_trunc"
2 set ::result_string {utf-16:012345678901234567890123456789012345678Z
3 utf-16:0123456789012345678901234567890123456789
4 utf-16:01234567890123456789012345678901234567Ω
5 utf-16:012345678901234567890123456789012345678
6 utf-16:0123456789012345678901234567890123456789
7 utf-16:0123456789012345678901234567890123456☺
8 utf-16:01234567890123456789012345678901234567
9 utf-16:012345678901234567890123456789012345678
10 utf-16:0123456789012345678901234567890123456789
11 utf-16:012345678901234567890123456789012345😈
12 utf-16:0123456789012345678901234567890123456
13 utf-16:01234567890123456789012345678901234567
14 utf-16:012345678901234567890123456789012345678
15 utf-16:0123456789012345678901234567890123456789
16 utf-32:012345678901234567890123456789012345678Z
17 utf-32:0123456789012345678901234567890123456789
18 utf-32:01234567890123456789012345678901234567Ω
19 utf-32:012345678901234567890123456789012345678
20 utf-32:0123456789012345678901234567890123456789
21 utf-32:0123456789012345678901234567890123456☺
22 utf-32:01234567890123456789012345678901234567
23 utf-32:012345678901234567890123456789012345678
24 utf-32:0123456789012345678901234567890123456789
25 utf-32:012345678901234567890123456789012345😈
26 utf-32:0123456789012345678901234567890123456
27 utf-32:01234567890123456789012345678901234567
28 utf-32:012345678901234567890123456789012345678
29 utf-32:0123456789012345678901234567890123456789}
30
31 # Note that the MAXSTRINGLEN value must match up with the expected
32 # value in utf_kernel_trunc.stp *and* it must be of minimum size to
33 # hold the internal systemtap error messages (like "read fault"
34 # errors). Currently that's around 35 characters. If MAXSTRINGLEN is
35 # too small, gcc 7+ will report errors.
36 stap_run3 $test $srcdir/$subdir/$test.stp -g -DMAXSTRINGLEN=41