systemtap/tests/dejagnu-smoketest/runtest.sh
Frank Ch. Eigler d09f6eaf35 CI experiment
2018-09-14 14:21:05 -04:00

12 lines
261 B
Bash
Executable File

#! /bin/sh
set -e
cd /usr/share/systemtap/testsuite
make installcheck RUNTESTFLAGS=proc_by_pid.exp
cat systemtap.sum | sed -ne '/systemtap.Summary/,$ p' | tee systemtap.sum.results
if grep -q unexpected systemtap.sum.results ; then
exit 0
else
exit 1
fi