diff options
author | hunt <hunt> | 2005-06-23 06:44:49 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-06-23 06:44:49 +0000 |
commit | 9c6279e746f62b09852bd1c1449b4549b3512f70 (patch) | |
tree | 897952df2e3dc3faa9e05de16348f58ae442d615 /runtime/tests | |
parent | c32a1f6186a9fa45d2aa45241be04428a006db11 (diff) | |
download | systemtap-steved-9c6279e746f62b09852bd1c1449b4549b3512f70.tar.gz systemtap-steved-9c6279e746f62b09852bd1c1449b4549b3512f70.tar.xz systemtap-steved-9c6279e746f62b09852bd1c1449b4549b3512f70.zip |
x86 fixes.
Diffstat (limited to 'runtime/tests')
-rw-r--r-- | runtime/tests/maps/map.test | 5 | ||||
-rw-r--r-- | runtime/tests/maps/map_format.c | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/runtime/tests/maps/map.test b/runtime/tests/maps/map.test index 3684831b..1e10caba 100644 --- a/runtime/tests/maps/map.test +++ b/runtime/tests/maps/map.test @@ -372,11 +372,6 @@ The capitol of Sofia is Bulgaria and the nerd population is DEADF00D12345678 The capitol of Valletta is Malta and the nerd population is 1 The capitol of Nicosia is Cyprus and the nerd population is FFFFFFFFFFFFFFFF -The capitol of Riga is Latvia and the nerd population is 0000c0dedbad0000 -The capitol of Sofia is Bulgaria and the nerd population is deadf00d12345678 -The capitol of Valletta is Malta and the nerd population is 0000000000000001 -The capitol of Nicosia is Cyprus and the nerd population is ffffffffffffffff - Bogons per packet for Riga count:49600 sum:3288450 avg:66 min:0 max:99 value |-------------------------------------------------- count diff --git a/runtime/tests/maps/map_format.c b/runtime/tests/maps/map_format.c index 338fd7dc..53f4d65f 100644 --- a/runtime/tests/maps/map_format.c +++ b/runtime/tests/maps/map_format.c @@ -37,9 +37,9 @@ int main () MAP mapss = _stp_map_new_str_str(4, INT64); _stp_map_key_str_str (mapss, "Riga", "Latvia"); - _stp_map_set_int64 (mapss, 0x0000c0dedbad0000); + _stp_map_set_int64 (mapss, 0x0000c0dedbad0000LL); _stp_map_key_str_str (mapss, "Sofia", "Bulgaria"); - _stp_map_set_int64 (mapss, 0xdeadf00d12345678); + _stp_map_set_int64 (mapss, 0xdeadf00d12345678LL); _stp_map_key_str_str (mapss, "Valletta", "Malta"); _stp_map_set_int64 (mapss, 1); _stp_map_key_str_str (mapss, "Nicosia", "Cyprus"); @@ -47,7 +47,6 @@ int main () _stp_map_print (mapss, "The capitol of %1s is %2s and the nerd population is %d"); _stp_map_print (mapss, "The capitol of %1s is %2s and the nerd population is %x"); _stp_map_print (mapss, "The capitol of %1s is %2s and the nerd population is %X"); - _stp_map_print (mapss, "The capitol of %1s is %2s and the nerd population is %p"); MAP mapsst = _stp_map_new_str_str(4, HSTAT_LINEAR, 0, 100, 10 ); int i,j; |