diff options
-rwxr-xr-x | testsuite/transok/tval-opt.stp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/transok/tval-opt.stp b/testsuite/transok/tval-opt.stp index 76dcfd24..6c795a5d 100755 --- a/testsuite/transok/tval-opt.stp +++ b/testsuite/transok/tval-opt.stp @@ -1,8 +1,9 @@ #! /bin/sh set -e +set -o pipefail -script='probe kernel.function("kbd_keycode") { if ($keycode==50) $keycode=49 }' +script='probe kernel.function("do_filp_open") { if ($mode==50) $mode=49 next }' s1=`stap -p3 -g -e "$script" | sum` s2=`stap -p3 -g -u -e "$script" | sum` |