systemtap/tests/dejagnu-smoketest/test-smoke.sh

13 lines
268 B
Bash
Raw Normal View History

#! /bin/sh
set -e
set -x
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