diff options
| author | jvoisin | 2018-05-16 11:58:53 +0200 |
|---|---|---|
| committer | jvoisin | 2018-05-16 11:58:53 +0200 |
| commit | 9eebe8c67e03e3041d454ea28e93996f7a67740b (patch) | |
| tree | 53f3955d101c7a425c6e35edaacd55db0aee6a04 /src | |
| parent | 926dbb67ad29fe452987242bc6fc466d3c28fced (diff) | |
Don't run some tests on `-dev` php versions
Diffstat (limited to 'src')
| -rw-r--r-- | src/tests/upload_validation_real.phpt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/upload_validation_real.phpt b/src/tests/upload_validation_real.phpt index 5b6b839..b7af562 100644 --- a/src/tests/upload_validation_real.phpt +++ b/src/tests/upload_validation_real.phpt | |||
| @@ -13,6 +13,10 @@ if (strpos(system("php -d error_log=/dev/null -d extension=vld.so -m 2>/dev/null | |||
| 13 | if (strpos(system("php -d extension=vld.so -m 2>&1 | grep 'Unable to load'"), "Unable to load dynamic library 'vld.so'") !== FALSE) { | 13 | if (strpos(system("php -d extension=vld.so -m 2>&1 | grep 'Unable to load'"), "Unable to load dynamic library 'vld.so'") !== FALSE) { |
| 14 | print "skip"; | 14 | print "skip"; |
| 15 | } | 15 | } |
| 16 | |||
| 17 | if (strpos(phpversion(), '-dev') !== FALSE) { | ||
| 18 | print 'skip'; | ||
| 19 | } | ||
| 16 | ?> | 20 | ?> |
| 17 | --INI-- | 21 | --INI-- |
| 18 | file_uploads=1 | 22 | file_uploads=1 |
