OOPS-ORG-PHP/mod_execdir

Build test error on 1.0.5

Joungkyun opened this issue · 0 comments

Bug Environments

  • Product Version : 1.0.5 (no problem 1.0.4 and before)
  • PHP Version: PHP 5.0.0 ~ 5.0.3
  • PHP SAPI: all

Describe the bug

FAIL Check for pcntl_exec_re function that has command not found [tests/007-pcntl_exec-failed.phpt]
FAIL Check for pcntl_exec_re function that return success [tests/007-pcntl_exec-normal.phpt]

To Reproduce

  1. build as extension of PHP 5.3
  2. phpize
  3. make tests PHP_EXECUTABLE=/usr/bin/php

Expected behavior

check result to PASS

Additional context

Parse error: syntax error, unexpected '[' in /root/work/github/php/mod_execdir/tests/007-pcntl_exec-failed.php on line 12
Parse error: syntax error, unexpected '[' in /root/work/github/php/mod_execdir/tests/007-pcntl_exec-normal.php on line 12

Perhaps, it is a problem of test code, not the functional problem of extension.