summaryrefslogtreecommitdiff
path: root/sapi/cli/tests/013.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/cli/tests/013.phpt')
-rw-r--r--sapi/cli/tests/013.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/tests/013.phpt b/sapi/cli/tests/013.phpt
index 9e17c009c2..3ca2ba833c 100644
--- a/sapi/cli/tests/013.phpt
+++ b/sapi/cli/tests/013.phpt
@@ -12,7 +12,7 @@ if (substr(PHP_OS, 0, 3) == 'WIN') {
$php = getenv('TEST_PHP_EXECUTABLE');
-$filename_txt = dirname(__FILE__)."/013.test.txt";
+$filename_txt = __DIR__."/013.test.txt";
file_put_contents($filename_txt, "test\nfile\ncontents\n");
var_dump(`cat "$filename_txt" | "$php" -n -B 'var_dump("start");'`);