CI try 4
This commit is contained in:
parent
33ac182b01
commit
c730acbcfd
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
dnf debuginfo-install -y kernel
|
||||
dnf debuginfo-install -y kernel libstdc++-devel
|
||||
|
||||
rhts-run-simple-test $TEST ./test-smoke.sh
|
||||
|
@ -1,12 +1,14 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -e
|
||||
set -x
|
||||
cd /usr/share/systemtap/testsuite
|
||||
rm -f systemtap.sum.results
|
||||
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
|
||||
log "Results: `cat systemtap.sum.results`"
|
||||
if [ ! -f systemtap.sum.results ]; then
|
||||
log "RESULT: FAIL"
|
||||
elif grep -q unexpected systemtap.sum.results ; then
|
||||
log "RESULT: FAIL"
|
||||
else
|
||||
exit 1
|
||||
log "RESULT: PASS"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user