diff options
author | Marcus Boerger <helly@php.net> | 2005-07-17 23:58:02 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-07-17 23:58:02 +0000 |
commit | 62c47d1778d2682941b354d409d5741e0c666297 (patch) | |
tree | 6a6e14c7f697c682fdca22856c4f71a32df01ffe | |
parent | c1e73b4a67606db756dbc223eb2cc642d590e7e7 (diff) | |
download | php-git-62c47d1778d2682941b354d409d5741e0c666297.tar.gz |
- Write temp file in test dir
-rw-r--r-- | ext/ming/tests/swfaction.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/ming/tests/swfaction.phpt b/ext/ming/tests/swfaction.phpt index a99d4e24f6..f29bcdb47d 100644 --- a/ext/ming/tests/swfaction.phpt +++ b/ext/ming/tests/swfaction.phpt @@ -40,9 +40,9 @@ Ming: Simple SWFAction() test $m->add(new SWFAction("gotoFrame(0); play();")); $m->nextFrame(); - $m->save('./test.swf'); - echo md5_file('./test.swf'), "\n"; - unlink('./test.swf'); + $m->save(dirname(__FILE__).'/test.swf', 0); + echo md5_file(dirname(__FILE__).'/test.swf'), "\n"; + unlink(dirname(__FILE__).'/test.swf'); ?> --EXPECT-- 9e47538692393b9915faf3fc7e686cd5 |