Remove empty sections in tests

This commit is contained in:
Gabriel Caruso 2018-02-13 14:04:31 -02:00 committed by Joe
parent b7d2e04f1f
commit b8bb4d77ca
No known key found for this signature in database
GPG key ID: F9BA0ADA31CBD89E
12 changed files with 12 additions and 24 deletions

View file

@ -1,6 +1,5 @@
--TEST--
Testing declare statement with ticks
--SKIPIF--
--FILE--
<?php
register_tick_function(function () { echo "tick\n"; });

View file

@ -1,6 +1,5 @@
--TEST--
CURL file uploading
--INI--
--SKIPIF--
<?php include 'skipif.inc'; ?>
--FILE--

View file

@ -1,6 +1,5 @@
--TEST--
Test curl_exec() function with basic functionality
--CREDITS--
--SKIPIF--
<?php
if (!extension_loaded("curl")) exit("skip curl extension not loaded");

View file

@ -1,6 +1,5 @@
--TEST--
Segfault due to libcurl connection caching
--CREDITS--
--SKIPIF--
<?php
if (!extension_loaded("curl")) exit("skip curl extension not loaded");

View file

@ -1,6 +1,5 @@
--TEST--
Bug #55397 (comparison of incomplete DateTime causes SIGSEGV)
--INI--
--FILE--
<?php
date_default_timezone_set('Europe/Prague');

View file

@ -8,7 +8,6 @@ include("skipif.inc");
_skip_lc_messages();
?>
--INI--
--FILE--
<?php
include 'config.inc';

View file

@ -2,7 +2,6 @@
Bug #61470 (session_regenerate_id() does not create session file)
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
--FILE--
<?php
ob_start();
@ -21,7 +20,7 @@ var_dump(is_file($file2));
// cleanup
@unlink($file1);
@unlink($file2);
?>
--EXPECT--
bool(true)
bool(true)

View file

@ -1,6 +1,5 @@
--TEST--
Bug #66827: Session raises E_NOTICE when session name variable is array.
--INI--
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
@ -8,5 +7,6 @@ Bug #66827: Session raises E_NOTICE when session name variable is array.
$_COOKIE[session_name()] = array();
session_start();
echo 'OK';
?>
--EXPECTF--
OK

View file

@ -1,6 +1,5 @@
--TEST--
Test intval() function with "0b" string prefix
--SKIPIF--
--FILE--
<?php

View file

@ -1,6 +1,5 @@
--TEST--
setcookie() tests
--DESCRIPTION--
--INI--
date.timezone=UTC
--FILE--

View file

@ -2,8 +2,6 @@
Check for zip presence
--SKIPIF--
<?php if (!extension_loaded("zip")) print "skip"; ?>
--POST--
--GET--
--FILE--
<?php
echo "zip extension is available";

View file

@ -1,6 +1,5 @@
--TEST--
PHP encoding setting test
--INI--
--FILE--
<?php
var_dump(ini_get('default_charset'));
@ -20,7 +19,7 @@ var_dump(ini_set('output_encoding', 'EUC-JP'));
var_dump(ini_get('input_encoding'));
var_dump(ini_get('internal_encoding'));
var_dump(ini_get('output_encoding'));
?>
--EXPECT--
string(5) "UTF-8"
string(0) ""