systemtap/tests/dejagnu-smoketest/runtest.sh
Frank Ch. Eigler b6ed2853aa CI try 8
2018-09-16 11:11:19 -04:00

18 lines
403 B
Bash
Executable File

#!/bin/sh
set -e
set -x
dnf debuginfo-install -y kernel
# on Fedora CI, can only assume about 1GB RAM to run these tests
stap -L 'process("stap").mark("*")' | grep pass
# stap -L 'kernel.trace("sys_enter")'
stap -v --example helloworld.stp
stap -v -T 10 -e 'probe kernel.function("do_exit") {println($$vars)}' -c true
# stap -v -T 10 -e 'probe syscall.* ? {println(argstr)}'
echo
echo RESULT: PASS