Date: Sunday, January 3, 2016 @ 08:12:30
  Author: pierre
Revision: 257473

Add a check to prevent FS#47600 from happening again

Modified:
  php/trunk/PKGBUILD

----------+
 PKGBUILD |    3 +++
 1 file changed, 3 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-01-02 23:54:41 UTC (rev 257472)
+++ PKGBUILD    2016-01-03 07:12:30 UTC (rev 257473)
@@ -155,6 +155,9 @@
 check() {
        cd ${srcdir}/${pkgbase}-${pkgver}
 
+       # Check if sendmail was configured correctly (FS#47600)
+       ${srcdir}/build/sapi/cli/php -n -r 'echo ini_get("sendmail_path");' | 
grep -q '/usr/bin/sendmail'
+
        export REPORT_EXIT_STATUS=1
        export NO_INTERACTION=1
        export SKIP_ONLINE_TESTS=1

Reply via email to