delete test

This commit is contained in:
Iveta Cesalova 2021-03-19 08:57:20 +01:00
commit 23e661e435
4 changed files with 0 additions and 94 deletions

View file

@ -1,5 +0,0 @@
<?php
class Foo {}
class Foo {}
?>

View file

@ -1,11 +0,0 @@
contact: None <icesalov@redhat.com>
component:
- php
tag:
- NoModularTier
- TIPpass_Apps
- Tier2
extra-nitrate: TC#0068511
extra-summary: /CoreOS/php/Regression/bz446180-lowercased
extra-pepa: |
PACKAGES='php-cli' component/php

View file

@ -1,21 +0,0 @@
summary: php Class name lowercased in error message
description: |
Test Name: bz446180-lowercased - Bugzilla(s) 446180
Author: Martin Koci (koca) <mkoci@redhat.com>
Location: /CoreOS/php/Regression/bz446180-lowercased
Short Description: php Class name lowercased in error message
Long Description:
The class name in the "Cannot redeclare class ..." error message is lowercased and not the original one.
contact:
- Iveta Cesalova <icesalov@redhat.com>
component:
- php
test: ./runtest.sh
framework: beakerlib
recommend:
- php
duration: 5m
enabled: true
tier: '2'
extra-summary: /CoreOS/php/Regression/bz446180-lowercased
extra-task: /CoreOS/php/Regression/bz446180-lowercased

View file

@ -1,57 +0,0 @@
#!/bin/bash
# runtest.sh - bz446180-lowercased - Bugzilla(s) 446180
# Author: Martin Koci (koca) <mkoci@redhat.com>
# Location: /CoreOS/php/Regression/bz446180-lowercased/runtest.sh
# Description: php Class name lowercased in error message
# Copyright (c) 2008 Red Hat, Inc. All rights reserved. This copyrighted material
# is made available to anyone wishing to use, modify, copy, or
# redistribute it subject to the terms and conditions of the GNU General
# Public License v.2.
#
# 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, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
PACKAGES="${PACKAGES:-php-cli}"
FILE="446180.php"
TEMPFILE=`mktemp`
CONF="/etc/php.ini"
# Include rhts environment
. /usr/share/rhts-library/rhtslib.sh
. /usr/bin/rhts-environment.sh
######################
# Prepare environment
######################
rlJournalStart
rlPhaseStartSetup Preparation
rlAssertRpm --all
rlAssertBinaryOrigin "php"
rlRun "php -v"
rlPhaseEnd
######################
# Begin Test-Case
######################
rlPhaseStartTest Test
rlRun 'php $FILE 2> $TEMPFILE; grep Foo $TEMPFILE' 0
rlPhaseEnd
######################
# Clean after the test
######################
rlPhaseStartCleanup Clean-Up
rlRun 'rm -f $TEMPFILE'
rlPhaseEnd
rlJournalPrintText
rlJournalEnd