Debian Codegraph @

doc/SystemTap_Beginners_Guide/testsuite/systemtap.maps/map_hash_interprocess.exp

raw
1 # This test makes sure that interprocess hashing works, especially for stapdyn,
2 # so for example the stap_hash_seed must be correctly shared.
3
4 set test "map_hash_interprocess"
5 set script "$srcdir/$subdir/$test.stp"
6 set ::result_string {array["foo", 42]: 0x123456789abcdef}
7
8 foreach runtime [get_runtime_list] {
9 if {$runtime != ""} {
10 stap_run3 "$test (runtime)" "$script" --runtime=$runtime -c true
11 } elseif {[utrace_p]} {
12 stap_run3 "$test" "$script" -c true
13 } else {
14 untested "$test"
15 }
16 }