summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/mysqli_pam_sha256.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-03-04 16:26:47 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-03-04 16:28:11 +0100
commit4d43cbe333690171753e9b8663df93d3762e02a8 (patch)
treeb7e36301f1fe5a1c5085eaab6f1190201dc1624b /ext/mysqli/tests/mysqli_pam_sha256.phpt
parent97de8cfc710c51bc19ed504d5caeec83db5a3f8d (diff)
downloadphp-git-4d43cbe333690171753e9b8663df93d3762e02a8.tar.gz
Add mechanism to skip the skipif cache
If the SKIPIF section return nocache, don't cache the result. This is used by tests that perform complex test set in conjunction with skip checks, and need to be evaluated every time.
Diffstat (limited to 'ext/mysqli/tests/mysqli_pam_sha256.phpt')
-rw-r--r--ext/mysqli/tests/mysqli_pam_sha256.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqli/tests/mysqli_pam_sha256.phpt b/ext/mysqli/tests/mysqli_pam_sha256.phpt
index 8866409efe..29df5c1fde 100644
--- a/ext/mysqli/tests/mysqli_pam_sha256.phpt
+++ b/ext/mysqli/tests/mysqli_pam_sha256.phpt
@@ -75,6 +75,7 @@ if (!$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'%%'", $db))
}
$link->close();
+echo "nocache";
?>
--FILE--
<?php