diff options
author | Jim Keniston <jkenisto@us.ibm.com> | 2008-06-04 16:16:31 -0700 |
---|---|---|
committer | Jim Keniston <jkenisto@us.ibm.com> | 2008-06-04 16:16:31 -0700 |
commit | 39a8b0bce28cf4ef8fda523ad9c4634692764134 (patch) | |
tree | 493b39fa6ff3df65c52b5d48d73ecc55c7147acd /testsuite/semok | |
parent | 65e47e92a9fd19e334873e8b88673ee76ad479c8 (diff) | |
download | systemtap-steved-39a8b0bce28cf4ef8fda523ad9c4634692764134.tar.gz systemtap-steved-39a8b0bce28cf4ef8fda523ad9c4634692764134.tar.xz systemtap-steved-39a8b0bce28cf4ef8fda523ad9c4634692764134.zip |
Fix PR 6588
Diffstat (limited to 'testsuite/semok')
-rwxr-xr-x | testsuite/semok/syscall_return.stp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/semok/syscall_return.stp b/testsuite/semok/syscall_return.stp new file mode 100755 index 00000000..9a0ca7c4 --- /dev/null +++ b/testsuite/semok/syscall_return.stp @@ -0,0 +1,4 @@ +#!/bin/sh +# Per bz6588, this should get through the semantic pass without warnings. +stap -p2 -e 'probe syscall.*.return { printf("%s returns %s\n", name, retstr) }' 2>&1 | grep -q WARNING && exit 1 +exit 0 |