summaryrefslogtreecommitdiff
path: root/src/tests (follow)
AgeCommit message (Collapse)Author
2021-01-02Add stacktraces to dumpsjvoisin
2021-01-02Use gitlab-ci for all supported php versionsjvoisin
2021-01-02Fix a test on php8+jvoisin
2021-01-01Enable a disabled testjvoisin
2020-12-31Fix a test on php8jvoisin
2020-12-31Enabled matching on local var in php8jvoisin
PHP8 failed hard when it couldn't find the local variable we're looking for. using ZEND_FETCH_CLASS_SILENT makes it silent.
2020-12-31Enable a PHP<8 testjvoisin
2020-12-31Add two tests for cookies encryption on php8jvoisin
2020-12-31Add tests for harden_randjvoisin
2020-12-31Add two tests for inexistant config filesjvoisin
2020-12-31Actually enable the testsjvoisin
2020-12-31Enable 3 more testsjvoisin
PHP8 is changing the capitalization of the error message
2020-12-31Add a tests for unserialize with php8jvoisin
2020-12-31Enable 3 more tests for php8jvoisin
2020-12-31Add tests for broken configuration on php8jvoisin
2020-12-28Enable 2 more testsjvoisin
2020-12-28Enable more tests for php8jvoisin
2020-12-25mark some tests as passing on php8jvoisin
2020-12-24Add PHP8 supportJulien Voisin
2020-12-12Mark the relevant php8 tests as broken (#359)jvoisin
* Skip tests broken on php8 * Oops * Fix some tests * Add some XXE tests for php8 * Fix a test
2020-12-01In tests, don't `die("skip")` but `print "skip"` instead (#358)jvoisin
This is required since the `die` is making php8 choke
2020-11-29Make the `>` operator skip over functionsjvoisin
2020-11-20Add some tests for the strict modejvoisin
2020-11-12Add a testjvoisin
2020-11-12Invalid configurations with mutually exclusive keywords now abortsjvoisin
2020-11-12Harmonize a bit the configuration parsing and fix a typojvoisin
2020-11-08Mark a test as brokenjvoisin
2020-10-03Fix the testsuite for php7.4jvoisin
2020-08-16Add a test for the native loggingjvoisin
2020-08-12Allow empty configuration (#342)jvoisin
This commit allows php to run (with a warning) if there is no specified snuffleupagus configuration, instead of refusing to start.
2020-08-05Add a test for the syslog output of the logsjvoisin
2020-07-21Fix #338 - added log type if type is simulation, drop or log. (#339)Giovanni
Co-authored-by: Giovanni Dante Grazioli <giovanni.dantegrazioli@nbs-system.com>
2020-07-04Add two tests related to x-forwarded-for and remote-addrjvoisin
2020-06-19Fix the gitlab-ci Ubuntu runnerjvoisin
2020-06-07Fix a broken test on php nightlyjvoisin
Apparently, php is now raising errors for non-existing keys in arrays, so we're now catching the exception to allow the test to be run.
2020-06-07Mark simplexml tests as brokenjvoisin
2020-06-07Travis-ci's SimpleXML setup is weirdjvoisin
So we're disabling simplexml's check on it.
2020-05-14Fix the testsuite under php7.4jvoisin
2020-05-01Make the testsuite work on php7.4jvoisin
Before php7.4, it seems that the curl module was loaded by default, but since it's no the case anymore, it has to be manually specified in the testsuite. Interestingly, Php's testsuite mechanism is running snippets to determine some runtime parameters like the extension directory. Unfortunately,it tries to run them with Snuffleupagus loaded, resulting in an error, since no configuration file is passed.
2020-03-04%s/nbs-system/jvoisinjvoisin
Since I'm the only one to maintain Snuffleupagus, let's adjust the links and contact addresses of my fork, to point to well… my fork.
2019-11-03Log ip addresseskkadosh
2019-08-31Support direct syslog loggingThibault "bui" Koechlin
Add the possibility to log directly into the syslog, instead of using php's log system.
2019-07-09Don't run an openssl-dependent test is openssl isn't installedRemi Collet
2019-07-09Add a stream wrapper test that doesn't depend on openssljvoisin
2019-02-23Fix the testsuite on php8.jvoisin
In php8, it's non-trivial to hook strlen, since this function is usually optimized away by the compiler.
2019-01-14Reorganize the testsuitejvoisin
Splitting the testsuite in several components makes it easier to manage and comprehend. This was also needed some some tests aren't passing on Alpine Linux, but we still want to run as many of them as we can on this platform.
2019-01-03Add a gitlab-ci file, and a fix test on Fedorajvoisin
2018-12-26Add two eval-related testsjvoisin
2018-12-26Fix the build for php7.0jvoisin
We only want to prevent crash/infinite recursion, we don't really care about the error/warning messages.
2018-12-26Fix the build for php7.0 and php7.1jvoisin