diff --git a/core/php-pecl-rdd-smoke/main.fmf b/core/php-pecl-rdd-smoke/main.fmf deleted file mode 100644 index c197342..0000000 --- a/core/php-pecl-rdd-smoke/main.fmf +++ /dev/null @@ -1,20 +0,0 @@ -summary: Smoke test for php-pecl-rdd package. -description: | - Smoke test for php-pecl-rrd. Creates a database and creates graph from it. -contact: None -component: [] -test: ./runtest.sh -framework: beakerlib -recommend: -- php -- php-pecl-rrd -duration: 5m -enabled: true -tier: '1' -relevancy: | - distro = rhel-alt: False - distro < rhel-8: False - # Only available since 8.2 - distro < rhel-8.2: False -extra-summary: /CoreOS/php/Sanity/php-pecl-rdd-smoke -extra-task: /CoreOS/php/Sanity/php-pecl-rdd-smoke diff --git a/core/php-pecl-rdd-smoke/rrd.php b/core/php-pecl-rdd-smoke/rrd.php deleted file mode 100644 index fbab3b3..0000000 --- a/core/php-pecl-rdd-smoke/rrd.php +++ /dev/null @@ -1,34 +0,0 @@ - - diff --git a/core/php-pecl-rdd-smoke/runtest.sh b/core/php-pecl-rdd-smoke/runtest.sh deleted file mode 100755 index dd1b352..0000000 --- a/core/php-pecl-rdd-smoke/runtest.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /CoreOS/php/Sanity/php-pecl-rdd-smoke -# Description: Smoke test for php-pecl-rdd package. -# Author: Jakub Heger -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2019 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="php" - -rlJournalStart - rlPhaseStartSetup - rlAssertRpm $PACKAGE - rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory" - rlRun "cp rrd.php $TmpDir" 0 "Copying reproducer to TmpDir" - rlRun "pushd $TmpDir" - rlPhaseEnd - - rlPhaseStartTest - rlRun "php rrd.php" 0 "Creating rrd file and graph output" - rlAssertExists "./speed.rrd" - rlAssertExists "./speed.png" - rlPhaseEnd - - rlPhaseStartCleanup - rlRun "popd" - rlRun "rm -r $TmpDir" 0 "Removing tmp directory" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd