CI try 4
This commit is contained in:
parent
33ac182b01
commit
c730acbcfd
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user