Skip to content

Commit

Permalink
Fix broken SKIPIF section
Browse files Browse the repository at this point in the history
  • Loading branch information
cs278 committed Dec 29, 2022
1 parent d088ef1 commit 2226449
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/faketime.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
Test with faketime
--SKIPIF--
<?php
return DIRECTORY_SEPARATOR === '\\'
|| system('which faketime') === '';
include(__DIR__."/tests-skipcheck.inc.php");
if (DIRECTORY_SEPARATOR === '\\') die('skip does not run on windows');
if (exec('which faketime') === '') die('skip faketime is not installed');
--INI--
date.timezone=GMT
timecop.func_override=0
Expand Down

0 comments on commit 2226449

Please sign in to comment.