summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/syscall_return.stp
blob: 9a0ca7c48df35f8ee63ff5d8d4b1b59b28f70f53 (plain)
1
2
3
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