From 39a8b0bce28cf4ef8fda523ad9c4634692764134 Mon Sep 17 00:00:00 2001 From: Jim Keniston Date: Wed, 4 Jun 2008 16:16:31 -0700 Subject: Fix PR 6588 --- testsuite/semok/syscall_return.stp | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 testsuite/semok/syscall_return.stp (limited to 'testsuite') 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 -- cgit