]> granicus.if.org Git - php/commit
Make test case more resilient
authorChristoph M. Becker <cmbecker69@gmx.de>
Fri, 2 Sep 2016 22:18:19 +0000 (00:18 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Fri, 2 Sep 2016 22:24:30 +0000 (00:24 +0200)
commitc83bdb8e6a8c66ffad1079a9802ed53372007562
treeaaee47ebb22ec822b6a9ab3bbc90329332139c9a
parent5efd2a33df62d2bcaeeb6c8ff6ef20478f3a5417
Make test case more resilient

When ran from a root directory the test case failed, because the open_basedir
restriction for "../[…]" won't kick in. Therefore we change the current
working directory to the test case's directory, as discussed on internals,
see <http://news.php.net/php.internals/95585>.
ext/sqlite3/tests/sqlite3_21_security.phpt