Skip to content

Add more CONFLICTS tags #4908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions ext/standard/tests/file/filegroup_variation2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Test filegroup() function: usage variations - invalid filenames
--CREDITS--
Dave Kelsey <d_kelsey@uk.ibm.com>
--CONFLICTS--
obscure_filename
--FILE--
<?php
/* Prototype: int filegroup ( string $filename )
Expand Down Expand Up @@ -35,8 +37,6 @@ foreach( $filenames as $filename ) {
clearstatcache();
}
fclose($file_handle);

echo "\n*** Done ***";
?>
--CLEAN--
<?php
Expand Down Expand Up @@ -66,5 +66,3 @@ bool(false)

Warning: filegroup(): stat failed for 0 in %s on line %d
bool(false)

*** Done ***
6 changes: 2 additions & 4 deletions ext/standard/tests/file/fileinode_variation2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Test fileinode() function: usage variations - invalid filenames
--CREDITS--
Dave Kelsey <d_kelsey@uk.ibm.com>
--CONFLICTS--
obscure_filename
--FILE--
<?php
/*
Expand Down Expand Up @@ -36,8 +38,6 @@ foreach( $filenames as $filename ) {
clearstatcache();
}
fclose($file_handle);

echo "\n*** Done ***";
?>
--CLEAN--
<?php
Expand Down Expand Up @@ -67,5 +67,3 @@ bool(false)

Warning: fileinode(): stat failed for 0 in %s on line %d
bool(false)

*** Done ***
6 changes: 2 additions & 4 deletions ext/standard/tests/file/fileowner_variation2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Test fileowner() function: usage variations - invalid filenames
--CREDITS--
Dave Kelsey <d_kelsey@uk.ibm.com>
--CONFLICTS--
obscure_filename
--FILE--
<?php
/* Prototype: int fileowner ( string $filename )
Expand Down Expand Up @@ -36,8 +38,6 @@ foreach( $filenames as $filename ) {
clearstatcache();
}
fclose($file_handle);

echo "\n*** Done ***";
?>
--CLEAN--
<?php
Expand Down Expand Up @@ -67,5 +67,3 @@ bool(false)

Warning: fileowner(): stat failed for 0 in %s on line %d
bool(false)

*** Done ***
6 changes: 2 additions & 4 deletions ext/standard/tests/file/fileperms_variation2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Test fileperms() function: usage variations - invalid filenames
--CREDITS--
Dave Kelsey <d_kelsey@uk.ibm.com>
--CONFLICTS--
obscure_filename
--FILE--
<?php
/* Prototype: int fileperms ( string $filename )
Expand Down Expand Up @@ -35,8 +37,6 @@ foreach( $filenames as $filename ) {
clearstatcache();
}
fclose($file_handle);

echo "\n*** Done ***";
?>
--CLEAN--
<?php
Expand Down Expand Up @@ -66,5 +66,3 @@ bool(false)

Warning: fileperms(): stat failed for 0 in %s on line %d
bool(false)

*** Done ***
6 changes: 2 additions & 4 deletions ext/standard/tests/file/flock_error.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
--TEST--
Test flock() function: Error conditions
--CONFLICTS--
obscure_filename
--FILE--
<?php
/*
Expand Down Expand Up @@ -47,8 +49,6 @@ var_dump(flock($fp));

/* No.of args greater than expected */
var_dump(flock($fp, "", $var, ""));

echo "\n*** Done ***\n";
?>
--CLEAN--
<?php
Expand Down Expand Up @@ -108,5 +108,3 @@ NULL

Warning: flock() expects at most 3 parameters, 4 given in %s on line %d
NULL

*** Done ***
6 changes: 2 additions & 4 deletions ext/standard/tests/file/is_dir_variation3.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
--TEST--
Test is_dir() function: usage variations - invalid arguments
--CONFLICTS--
obscure_filename
--FILE--
<?php
/* Prototype: bool is_dir ( string $dirname );
Expand Down Expand Up @@ -31,8 +33,6 @@ foreach($dirnames as $dirname) {
var_dump( is_dir($dirname) );
}
closedir($dir_handle);

echo "\n*** Done ***";
?>
--EXPECTF--
*** Testing is_dir() with Invalid arguments: expected bool(false) ***
Expand All @@ -46,5 +46,3 @@ Warning: is_dir() expects parameter 1 to be a valid path, resource given in %s o
NULL
bool(false)
bool(false)

*** Done ***
2 changes: 2 additions & 0 deletions ext/standard/tests/file/is_file_variation3.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
--TEST--
Test is_file() function: usage variations - invalid filenames
--CONFLICTS--
obscure_filename
--FILE--
<?php
/* Prototype: bool is_file ( string $filename );
Expand Down
5 changes: 2 additions & 3 deletions ext/standard/tests/file/is_writable_variation3.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Test is_writable() and its alias is_writeable() function: usage variations - inv
<?php
require __DIR__ . '/../skipif_root.inc';
?>
--CONFLICTS--
obscure_filename
--FILE--
<?php
/* Prototype: bool is_writable ( string $filename );
Expand Down Expand Up @@ -35,8 +37,6 @@ foreach( $misc_files as $misc_file ) {
var_dump( is_writeable($misc_file) );
clearstatcache();
}

echo "Done\n";
?>
--EXPECTF--
*** Testing is_writable(): usage variations ***
Expand Down Expand Up @@ -64,4 +64,3 @@ Warning: is_writeable() expects parameter 1 to be a valid path, array given in %
NULL
bool(false)
bool(false)
Done
4 changes: 2 additions & 2 deletions ext/standard/tests/file/lstat_stat_variation22.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Dave Kelsey <d_kelsey@uk.ibm.com>
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip ... not for Windows');
}
--CONFLICTS--
obscure_filename
--FILE--
<?php
/* Prototype: array lstat ( string $filename );
Expand All @@ -28,7 +30,6 @@ var_dump(lstat(false));
var_dump(lstat(''));
var_dump(lstat(' '));
var_dump(lstat('|'));
echo "Done";
?>
--EXPECTF--
*** testing stat ***
Expand All @@ -51,4 +52,3 @@ bool(false)

Warning: lstat(): Lstat failed for | in %s on line %d
bool(false)
Done
4 changes: 2 additions & 2 deletions ext/standard/tests/file/readfile_variation10-win32.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Dave Kelsey <d_kelsey@uk.ibm.com>
if(substr(PHP_OS, 0, 3) != "WIN")
die("skip run only on Windows");
?>
--CONFLICTS--
obscure_filename
--FILE--
<?php
/* Prototype : int readfile(string filename [, bool use_include_path[, resource context]])
Expand Down Expand Up @@ -41,7 +43,6 @@ foreach($names_arr as $key => $value) {
};

?>
===Done===
--EXPECTF--
*** Testing readfile() : variation ***

Expand Down Expand Up @@ -84,4 +85,3 @@ Warning: readfile(/no/such/file/dir): failed to open stream: No such file or dir
-- Filename: php/php --

Warning: readfile(php/php): failed to open stream: No such file or directory in %s on line %d
===Done===
Binary file modified ext/standard/tests/file/readfile_variation10.phpt
Binary file not shown.
6 changes: 2 additions & 4 deletions ext/standard/tests/file/readlink_variation1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Test readlink() function: usage variations - invalid filenames
--CREDITS--
Dave Kelsey <d_kelsey@uk.ibm.com>
--CONFLICTS--
obscure_filename
--FILE--
<?php
/* Prototype: string readlink ( string $path );
Expand Down Expand Up @@ -33,8 +35,6 @@ foreach( $filenames as $filename ) {
clearstatcache();
}
fclose($file_handle);

echo "\n*** Done ***";
?>
--CLEAN--
<?php
Expand Down Expand Up @@ -67,5 +67,3 @@ bool(false)

Warning: readlink(): %s in %s on line %d
bool(false)

*** Done ***
Binary file modified ext/standard/tests/file/rename_variation13-win32.phpt
Binary file not shown.
5 changes: 2 additions & 3 deletions ext/standard/tests/file/rename_variation13.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Dave Kelsey <d_kelsey@uk.ibm.com>
if(substr(PHP_OS, 0, 3) == "WIN")
die("skip. Not for Windows");
?>
--CONFLICTS--
obscure_filename
--FILE--
<?php
/* Prototype : bool rename(string old_name, string new_name[, resource context])
Expand Down Expand Up @@ -57,7 +59,6 @@ for( $i=0; $i<count($names_arr); $i++ ) {
}

rmdir($file_path);
echo "\n*** Done ***\n";
?>
--EXPECTF--
*** Testing rename() with obscure files ***
Expand Down Expand Up @@ -129,5 +130,3 @@ bool(false)

Warning: rename(php/php,%s/renameVar13/afile.tmp): %s directory in %s on line %d
bool(false)

*** Done ***
5 changes: 2 additions & 3 deletions ext/standard/tests/file/tempnam_variation3-win32.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Test tempnam() function: usage variations - obscure prefixes
if(substr(PHP_OS, 0, 3) != "WIN")
die("skip run only on Windows");
?>
--CONFLICTS--
obscure_filename
--FILE--
<?php
/* Prototype: string tempnam ( string $dir, string $prefix );
Expand Down Expand Up @@ -84,7 +86,6 @@ for( $i=0; $i<count($names_arr); $i++ ) {
}

rmdir($file_path);
echo "\n*** Done. ***\n";
?>
--EXPECTF--
*** Testing tempnam() with obscure prefixes ***
Expand Down Expand Up @@ -116,5 +117,3 @@ OK
OK
-- Iteration 9 --
OK

*** Done. ***
5 changes: 2 additions & 3 deletions ext/standard/tests/file/tempnam_variation3.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Test tempnam() function: usage variations - obscure prefixes
if(substr(PHP_OS, 0, 3) == "WIN")
die("skip Do not run on Windows");
?>
--CONFLICTS--
obscure_filename
--FILE--
<?php
/* Prototype: string tempnam ( string $dir, string $prefix );
Expand Down Expand Up @@ -71,7 +73,6 @@ for( $i=0; $i<count($names_arr); $i++ ) {
}

rmdir($file_path);
echo "\n*** Done ***\n";
?>
--EXPECTF--
*** Testing tempnam() with obscure prefixes ***
Expand Down Expand Up @@ -119,5 +120,3 @@ File created in => directory specified
File name is => %s/php%s
File permissions are => 100600
File created in => directory specified

*** Done ***
6 changes: 2 additions & 4 deletions ext/standard/tests/file/tempnam_variation7-win32.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Test tempnam() function: usage variations - invalid/non-existing dir
if(substr(PHP_OS, 0, 3) != "WIN")
die("skip Only run on Windows");
?>
--CONFLICTS--
obscure_filename
--FILE--
<?php
/* Prototype: string tempnam ( string $dir, string $prefix );
Expand Down Expand Up @@ -59,8 +61,6 @@ for( $i=0; $i<count($names_arr); $i++ ) {

unlink($file_name);
}

echo "\n*** Done ***\n";
?>
--EXPECTF--
*** Testing tempnam() with invalid/non-existing directory names ***
Expand Down Expand Up @@ -118,5 +118,3 @@ Notice: tempnam(): file created in the system's temporary directory in %stempnam
File name is => %s%et%s
File permissions are => 100666
File created in => temp dir

*** Done ***
6 changes: 2 additions & 4 deletions ext/standard/tests/file/tempnam_variation7.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Test tempnam() function: usage variations - invalid/non-existing dir
if(substr(PHP_OS, 0, 3) == "WIN")
die("skip Do not run on Windows");
?>
--CONFLICTS--
obscure_filename
--FILE--
<?php
/* Prototype: string tempnam ( string $dir, string $prefix );
Expand Down Expand Up @@ -64,8 +66,6 @@ for( $i=0; $i<count($names_arr); $i++ ) {

unlink($file_name);
}

echo "\n*** Done ***\n";
?>
--EXPECTF--
*** Testing tempnam() with invalid/non-existing directory names ***
Expand Down Expand Up @@ -123,5 +123,3 @@ Notice: tempnam(): file created in the system's temporary directory in %stempnam
File name is => %s/tempnam_variation3.tmp%s
File permissions are => 100600
File created in => temp dir

*** Done ***