]> granicus.if.org Git - php/commitdiff
Fix directory clash in tempnam_variation4 test
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 15 Apr 2020 09:25:06 +0000 (11:25 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 15 Apr 2020 09:25:06 +0000 (11:25 +0200)
ext/standard/tests/file/tempnam_variation4-0.phpt
ext/standard/tests/file/tempnam_variation4-1.phpt

index 646179beca6594dc2be9f64a834d4c50306b891d..cbd09a5025ccb232de01b67ea1aec0cdf660c6ef 100644 (file)
@@ -20,7 +20,7 @@ require __DIR__ . '/../skipif_root.inc';
 
 echo "*** Testing tempnam() with dir of permissions from 0000 to 0350 ***\n";
 $file_path = __DIR__;
-$dir_name = $file_path."/tempnam_variation4";
+$dir_name = $file_path."/tempnam_variation4-0";
 $prefix = "tempnamVar4.";
 
 mkdir($dir_name);
index b614404c94d7bcf2fe540241de3f8c191012a030..46807125c6c5a8a02d460bf3619b5097e25d3405 100644 (file)
@@ -20,7 +20,7 @@ require __DIR__ . '/../skipif_root.inc';
 
 echo "*** Testing tempnam() with dir of permissions from 0351 to 0777 ***\n";
 $file_path = __DIR__;
-$dir_name = $file_path."/tempnam_variation4";
+$dir_name = $file_path."/tempnam_variation4-1";
 $prefix = "tempnamVar4.";
 
 mkdir($dir_name);