Debian Codegraph @

testsuite/systemtap.printf/ptr-1.3.exp

raw
1 set test "ptr-1.3"
2
3 set ::result_string "0x0
4 0x1
5 0x12345678
6 0x12345678abcdef00
7 0x12345678
8
9 0x0X
10 0x1X
11 0x12345678X
12 0x12345678abcdef00X
13 0x12345678X
14
15 0x0 X
16 0x1 X
17 0x12345678 X
18 0x12345678abcdef00 X
19 0x12345678 X
20
21 0x00000000000000000000X
22 0x00000000000000000001X
23 0x00000000000012345678X
24 0x000012345678abcdef00X
25 0x00000000000012345678X
26
27 0x00000000X
28 0x00000001X
29 0x12345678X
30 0x12345678abcdef00X
31 0x12345678X
32
33 0x00000000 X
34 0x00000001 X
35 0x12345678 X
36 0x12345678abcdef00 X
37 0x12345678 X
38
39 0x0
40 0x1
41 0x12345678
42 0x12345678abcdef00
43 0x12345678
44
45 0x0 X
46 0x1 X
47 0x12345678X
48 0x12345678abcdef00X
49 0x12345678X
50
51 0x00000000
52 0x00000001
53 0x12345678
54 0x12345678abcdef00
55 0x12345678
56
57 0x00000000000000000000
58 0x00000000000000000001
59 0x00000000000012345678
60 0x000012345678abcdef00
61 0x00000000000012345678
62
63 0x00000000000000000000X
64 0x00000000000000000001X
65 0x00000000000012345678X
66 0x000012345678abcdef00X
67 0x00000000000012345678X"
68
69 foreach runtime [get_runtime_list] {
70 if {$runtime != ""} {
71 stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime --compatible=1.3
72 stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime --compatible=1.3 -DSTP_LEGACY_PRINT
73 } else {
74 stap_run2 $srcdir/$subdir/$test.stp --compatible=1.3
75 stap_run2 $srcdir/$subdir/$test.stp --compatible=1.3 -DSTP_LEGACY_PRINT
76 }
77 }