]> granicus.if.org Git - php/commitdiff
Add more CONFLICTS tags
authorFabien Villepinte <fabien.villepinte@gmail.com>
Wed, 13 Nov 2019 19:59:23 +0000 (20:59 +0100)
committerFabien Villepinte <fabien.villepinte@gmail.com>
Wed, 13 Nov 2019 19:59:23 +0000 (20:59 +0100)
Closes GH-4908.

18 files changed:
ext/standard/tests/file/filegroup_variation2.phpt
ext/standard/tests/file/fileinode_variation2.phpt
ext/standard/tests/file/fileowner_variation2.phpt
ext/standard/tests/file/fileperms_variation2.phpt
ext/standard/tests/file/flock_error.phpt
ext/standard/tests/file/is_dir_variation3.phpt
ext/standard/tests/file/is_file_variation3.phpt
ext/standard/tests/file/is_writable_variation3.phpt
ext/standard/tests/file/lstat_stat_variation22.phpt
ext/standard/tests/file/readfile_variation10-win32.phpt
ext/standard/tests/file/readfile_variation10.phpt
ext/standard/tests/file/readlink_variation1.phpt
ext/standard/tests/file/rename_variation13-win32.phpt
ext/standard/tests/file/rename_variation13.phpt
ext/standard/tests/file/tempnam_variation3-win32.phpt
ext/standard/tests/file/tempnam_variation3.phpt
ext/standard/tests/file/tempnam_variation7-win32.phpt
ext/standard/tests/file/tempnam_variation7.phpt

index 71def66e2998781a135a7976f525aaa60d4dafba..030f97a0f8bc98f6a83d0fafcaaaf72bb84ef486 100644 (file)
@@ -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 )
@@ -35,8 +37,6 @@ foreach( $filenames as $filename ) {
   clearstatcache();
 }
 fclose($file_handle);
-
-echo "\n*** Done ***";
 ?>
 --CLEAN--
 <?php
@@ -66,5 +66,3 @@ bool(false)
 
 Warning: filegroup(): stat failed for 0 in %s on line %d
 bool(false)
-
-*** Done ***
index 3ccfc76476804a680f7fdab9d27c00264efab982..71cdc395a663b9cf7ce8387c16c81ad2d3cf2220 100644 (file)
@@ -2,6 +2,8 @@
 Test fileinode() function: usage variations - invalid filenames
 --CREDITS--
 Dave Kelsey <d_kelsey@uk.ibm.com>
+--CONFLICTS--
+obscure_filename
 --FILE--
 <?php
 /*
@@ -36,8 +38,6 @@ foreach( $filenames as $filename ) {
   clearstatcache();
 }
 fclose($file_handle);
-
-echo "\n*** Done ***";
 ?>
 --CLEAN--
 <?php
@@ -67,5 +67,3 @@ bool(false)
 
 Warning: fileinode(): stat failed for 0 in %s on line %d
 bool(false)
-
-*** Done ***
index 8a943e549ed77c6643104c42bf7df220c88beb7c..4be8f58682e96cb95e63cd63c2a127ab255befda 100644 (file)
@@ -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 )
@@ -36,8 +38,6 @@ foreach( $filenames as $filename ) {
   clearstatcache();
 }
 fclose($file_handle);
-
-echo "\n*** Done ***";
 ?>
 --CLEAN--
 <?php
@@ -67,5 +67,3 @@ bool(false)
 
 Warning: fileowner(): stat failed for 0 in %s on line %d
 bool(false)
-
-*** Done ***
index c8d62fd5bd45191c3add11f406c7ea0676532e73..d45da017cc87f307780b3220c877e8a0571d05d3 100644 (file)
@@ -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 )
@@ -35,8 +37,6 @@ foreach( $filenames as $filename ) {
   clearstatcache();
 }
 fclose($file_handle);
-
-echo "\n*** Done ***";
 ?>
 --CLEAN--
 <?php
@@ -66,5 +66,3 @@ bool(false)
 
 Warning: fileperms(): stat failed for 0 in %s on line %d
 bool(false)
-
-*** Done ***
index 26a8b3d01ff1b6909a21d61727cdc2c934e0f2dd..d6f1b3f59b41097e514fdfa560411a4e0de0732b 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test flock() function: Error conditions
+--CONFLICTS--
+obscure_filename
 --FILE--
 <?php
 /*
@@ -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
@@ -108,5 +108,3 @@ NULL
 
 Warning: flock() expects at most 3 parameters, 4 given in %s on line %d
 NULL
-
-*** Done ***
index 86c40da0ebc7b6ff7f2fc9702ff03bf829aacb56..3f9d196e64dc86746f5dcfb7f9c8d1e14d01720c 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test is_dir() function: usage variations - invalid arguments
+--CONFLICTS--
+obscure_filename
 --FILE--
 <?php
 /* Prototype: bool is_dir ( string $dirname );
@@ -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) ***
@@ -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 ***
index 0a06ad501585b237e3c6b475e20a093209ad5e91..d18bef52f135a164b0481af2ea3e5d831797ec86 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 Test is_file() function: usage variations - invalid filenames
+--CONFLICTS--
+obscure_filename
 --FILE--
 <?php
 /* Prototype: bool is_file ( string $filename );
index 305bebef8f5e5c9c918ed0c7bb4905cfdcc99e57..e49270bcf4e55bf77607bf74c569f04319d6831d 100644 (file)
@@ -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 );
@@ -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 ***
@@ -64,4 +64,3 @@ Warning: is_writeable() expects parameter 1 to be a valid path, array given in %
 NULL
 bool(false)
 bool(false)
-Done
index f9d904718859a1d6e13c6e29da9ceda14dad2f5f..35583971311bee52f35b3ada83ce89d69ba0f5f4 100644 (file)
@@ -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 );
@@ -28,7 +30,6 @@ var_dump(lstat(false));
 var_dump(lstat(''));
 var_dump(lstat(' '));
 var_dump(lstat('|'));
-echo "Done";
 ?>
 --EXPECTF--
 *** testing stat ***
@@ -51,4 +52,3 @@ bool(false)
 
 Warning: lstat(): Lstat failed for | in %s on line %d
 bool(false)
-Done
index a240a826b967baf3f3fee4b78b3a1d22f33d0907..5824a8fe15bea5206ded5be577dc754fdaafdb7a 100644 (file)
@@ -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]])
@@ -41,7 +43,6 @@ foreach($names_arr as $key => $value) {
 };
 
 ?>
-===Done===
 --EXPECTF--
 *** Testing readfile() : variation ***
 
@@ -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===
index 59b92ad365827af5d08f822679fd4ee2f077f075..e9655377a3c14a2ddc567e5d7249a4ecb427d1c9 100644 (file)
Binary files a/ext/standard/tests/file/readfile_variation10.phpt and b/ext/standard/tests/file/readfile_variation10.phpt differ
index a54a246dc3c7914b31958530c54c0410c6b16c16..d641f20f26036e8c3c1c7267dd4c7c1dd64e4c82 100644 (file)
@@ -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 );
@@ -33,8 +35,6 @@ foreach( $filenames as $filename ) {
   clearstatcache();
 }
 fclose($file_handle);
-
-echo "\n*** Done ***";
 ?>
 --CLEAN--
 <?php
@@ -67,5 +67,3 @@ bool(false)
 
 Warning: readlink(): %s in %s on line %d
 bool(false)
-
-*** Done ***
index d8db734e383d8658bfd3d633d237de89ddf8cf2e..965a0dac251be55c9fce8e08d821f2d44f8199e5 100644 (file)
Binary files a/ext/standard/tests/file/rename_variation13-win32.phpt and b/ext/standard/tests/file/rename_variation13-win32.phpt differ
index 1cadd8a4383df21c61fa6866dda4ffa190d488aa..70ec37c7a65f4d30a02c08a8d8b5a5606afbc2eb 100644 (file)
@@ -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])
@@ -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 ***
@@ -129,5 +130,3 @@ bool(false)
 
 Warning: rename(php/php,%s/renameVar13/afile.tmp): %s directory in %s on line %d
 bool(false)
-
-*** Done ***
index c79aabfb62a2ce91d2706a14e854861e852dbb97..bade05ac87f1b14d3c1bf15fd49add4fb4fe6acc 100644 (file)
@@ -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 );
@@ -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 ***
@@ -116,5 +117,3 @@ OK
 OK
 -- Iteration 9 --
 OK
-
-*** Done. ***
index 856667fa491ec05497ad89e10b589a7810de068d..55db89cc72ed3509a111581b4920c2abf7efe75a 100644 (file)
@@ -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 );
@@ -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 ***
@@ -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 ***
index 5bacb5e876a7e2f77a63f5b3c1ec15cf3868f3b4..9ad75f8ed5fee432ed60159352d20ddb6d53ea0a 100644 (file)
@@ -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 );
@@ -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 ***
@@ -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 ***
index 9ed84f974ae2ceebd280393f851465658b4a0c61..289fe82375564b25737f0e1589b5e7f64b467cba 100644 (file)
@@ -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 );
@@ -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 ***
@@ -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 ***