]> granicus.if.org Git - php/commitdiff
Try to fix stat_variation3-win32.phpt
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 15 Apr 2019 09:40:37 +0000 (11:40 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 15 Apr 2019 09:40:37 +0000 (11:40 +0200)
After fixing comparison operator typos in
f73c104927b64d6137cbe42bf42260d9349cbd02 this test is failing. I
believe the comparison here should be using < rather than ==.

ext/standard/tests/file/stat_variation3-win32.phpt

index 2633fd60b82ea8493d9e3af0fca9dc92b224b9f9..d08612fc7f0df87fb9938fac09cf200b9c7659a9 100644 (file)
@@ -54,7 +54,7 @@ $new_stat1 = stat($dirname);
 // compare self stats
 var_dump( compare_self_stat($new_stat1) );
 // compare the stats
-var_dump(compare_stats($new_stat, $new_stat1, $all_stat_keys, "=="));
+var_dump(compare_stats($new_stat, $new_stat1, $affected_members, "<"));
 clearstatcache();
 
 echo "\n*** Done ***";