From c83bdb8e6a8c66ffad1079a9802ed53372007562 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sat, 3 Sep 2016 00:18:19 +0200 Subject: [PATCH] Make test case more resilient MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 . --- ext/sqlite3/tests/sqlite3_21_security.phpt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/sqlite3/tests/sqlite3_21_security.phpt b/ext/sqlite3/tests/sqlite3_21_security.phpt index 7e83bb23e15..b9662fe808a 100644 --- a/ext/sqlite3/tests/sqlite3_21_security.phpt +++ b/ext/sqlite3/tests/sqlite3_21_security.phpt @@ -6,6 +6,8 @@ SQLite3 open_basedir checks open_basedir=. --FILE--