This commit is contained in:
Frank Ch. Eigler 2018-09-14 19:38:15 -04:00
parent 33ac182b01
commit c730acbcfd
2 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
set -e set -e
dnf debuginfo-install -y kernel dnf debuginfo-install -y kernel libstdc++-devel
rhts-run-simple-test $TEST ./test-smoke.sh rhts-run-simple-test $TEST ./test-smoke.sh

View File

@ -1,12 +1,14 @@
#! /bin/sh #! /bin/sh
set -e
set -x
cd /usr/share/systemtap/testsuite cd /usr/share/systemtap/testsuite
rm -f systemtap.sum.results
make installcheck RUNTESTFLAGS=proc_by_pid.exp make installcheck RUNTESTFLAGS=proc_by_pid.exp
cat systemtap.sum | sed -ne '/systemtap.Summary/,$ p' | tee systemtap.sum.results cat systemtap.sum | sed -ne '/systemtap.Summary/,$ p' | tee systemtap.sum.results
if grep -q unexpected systemtap.sum.results ; then log "Results: `cat systemtap.sum.results`"
exit 0 if [ ! -f systemtap.sum.results ]; then
log "RESULT: FAIL"
elif grep -q unexpected systemtap.sum.results ; then
log "RESULT: FAIL"
else else
exit 1 log "RESULT: PASS"
fi fi