CI Tests: updates Regression/bz455360-RHEL4-vfprintf-call-goes-into-recursive to use actual beakerlib functions
This commit is contained in:
parent
353c8e0d93
commit
7d661951ea
@ -26,29 +26,34 @@
|
|||||||
#
|
#
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
# Include rhts environment
|
# Include Beaker environment
|
||||||
rpm -Uvh http://nest.test.redhat.com/mnt/qa/scratch/pmuller/rhtslib/rhtslib.rpm
|
|
||||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
|
|
||||||
PACKAGE="glibc"
|
PACKAGE="glibc"
|
||||||
|
|
||||||
rlJournalStart
|
rlJournalStart
|
||||||
rlPhaseStartSetup Setup
|
rlPhaseStartSetup
|
||||||
rlAssertRpm $PACKAGE
|
rlAssertRpm $PACKAGE
|
||||||
rlRun "gcc -O0 testcase.c -o tc0"
|
rlRun "TESTTMPDIR=$(mktemp -d)"
|
||||||
rlRun "gcc -O2 testcase.c -o tc2"
|
rlRun "cp testcase.c $TESTTMPDIR"
|
||||||
rlPhaseEnd
|
rlRun "pushd $TESTTMPDIR"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest Testing
|
rlPhaseStartTest Testing
|
||||||
rlRun "./tc0"
|
rlRun "gcc -O0 testcase.c -o tc0"
|
||||||
rlAssertNotEquals "Checking for the bug 455360 itself" $? 139
|
rlRun "gcc -O2 testcase.c -o tc2"
|
||||||
rlAssertExists "abcd"
|
rlRun "./tc0"
|
||||||
rlRun "rm -f abcd"
|
rlAssertNotEquals "Checking for the bug 455360 itself" $? 139
|
||||||
rlRun "./tc2"
|
rlAssertExists "abcd"
|
||||||
rlAssertNotEquals "Checking for the bug 455360 itself" $? 139
|
rlRun "rm -f abcd"
|
||||||
rlAssertExists "abcd"
|
rlRun "./tc2"
|
||||||
rlPhaseEnd
|
rlAssertNotEquals "Checking for the bug 455360 itself" $? 139
|
||||||
|
rlAssertExists "abcd"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartCleanup Cleanup
|
rlPhaseStartCleanup Cleanup
|
||||||
rlRun "rm -f tc0 tc2 abcd"
|
rlRun "popd"
|
||||||
rlPhaseEnd
|
rlRun "rm -r $TESTTMPDIR"
|
||||||
|
rlPhaseEnd
|
||||||
|
rlJournalPrintText
|
||||||
|
rlJournalEnd
|
||||||
|
Loading…
Reference in New Issue
Block a user