diff options
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index a44a90bb7c..c04d2f4a97 100755 --- a/run-tests.php +++ b/run-tests.php @@ -3749,8 +3749,10 @@ class SkipCache save_text($checkFile, $code, $tempFile); $result = trim(system_with_timeout("$php \"$checkFile\"", $env)); - if (strpos($result, 'nocache') === false) { + if (strpos($result, 'nocache') !== 0) { $this->skips[$key][$code] = $result; + } else { + $result = ''; } $this->misses++; |