Skip to content

Commit

Permalink
Add php 8.3 test data
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrkardasz committed Feb 1, 2024
1 parent 2ab483a commit 468f2dc
Show file tree
Hide file tree
Showing 2 changed files with 236 additions and 0 deletions.
118 changes: 118 additions & 0 deletions php/testdata/php8.3_amd64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
schemaVersion: "1.0.0"
fileExistenceTests:
- name: php-fpm executable
path: '/usr/local/sbin/php-fpm'
shouldExist: true
- name: php executable
path: '/usr/local/bin/php'
shouldExist: true
- name: 'Composer 755'
path: '/usr/bin/composer'
shouldExist: true
permissions: '-rwxr-xr-x'
- name: 'PHP Entry point 775'
path: '/usr/local/bin/docker-php-entrypoint'
shouldExist: true
permissions: '-rwxrwxr-x'
commandTests:
- name: arch
command: [ "uname", "-m" ]
expectedOutput: [ "x86_64" ]
- name: php-fpm version
command: [ "/usr/local/sbin/php-fpm", "--version" ]
expectedOutput: [ "PHP 8.3" ]
- name: php-fpm-modules
command: [ "/usr/local/sbin/php-fpm", "-m" ]
expectedOutput:
- 'apcu'
- 'cgi-fcgi'
- 'Core'
- 'ctype'
- 'curl'
- 'date'
- 'dom'
- 'exif'
- 'fileinfo'
- 'filter'
- 'gd'
- 'hash'
- 'iconv'
- 'intl'
- 'json'
- 'libxml'
- 'mbstring'
- 'mysqlnd'
- 'openssl'
- 'pcre'
- 'PDO'
- 'pdo_mysql'
- 'Phar'
- 'posix'
- 'readline'
- 'Reflection'
- 'session'
- 'SimpleXML'
- 'sodium'
- 'SPL'
- 'standard'
- 'tokenizer'
- 'xml'
- 'xmlreader'
- 'xmlwriter'
- 'Zend OPcache'
- 'zip'
- 'zlib'
- name: php-cli version
command: [ "/usr/local/bin/php", "--version" ]
expectedOutput: [ "PHP 8.3" ]
- name: config-files
command: [ "/usr/local/bin/php", "--ini" ]
expectedOutput:
- '/usr/local/etc/php/conf.d/docker-php-ext-apcu.ini'
- '/usr/local/etc/php/conf.d/docker-php-ext-exif.ini'
- '/usr/local/etc/php/conf.d/docker-php-ext-gd.ini'
- '/usr/local/etc/php/conf.d/docker-php-ext-intl.ini'
- '/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini'
- '/usr/local/etc/php/conf.d/docker-php-ext-pdo_mysql.ini'
- '/usr/local/etc/php/conf.d/docker-php-ext-sodium.ini'
- '/usr/local/etc/php/conf.d/docker-php-ext-zip.ini'
- name: php-cli extensions
command: [ "/usr/local/bin/php", "-m" ]
expectedOutput:
- 'apcu'
- 'Core'
- 'ctype'
- 'curl'
- 'date'
- 'dom'
- 'exif'
- 'fileinfo'
- 'filter'
- 'gd'
- 'hash'
- 'iconv'
- 'intl'
- 'json'
- 'libxml'
- 'mbstring'
- 'mysqlnd'
- 'openssl'
- 'pcre'
- 'PDO'
- 'pdo_mysql'
- 'Phar'
- 'posix'
- 'readline'
- 'Reflection'
- 'session'
- 'SimpleXML'
- 'sodium'
- 'SPL'
- 'standard'
- 'tokenizer'
- 'xml'
- 'xmlreader'
- 'xmlwriter'
- 'Zend OPcache'
- 'zip'
- 'zlib'
118 changes: 118 additions & 0 deletions php/testdata/php8.3_arm64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
schemaVersion: "1.0.0"
fileExistenceTests:
- name: php-fpm executable
path: '/usr/local/sbin/php-fpm'
shouldExist: true
- name: php executable
path: '/usr/local/bin/php'
shouldExist: true
- name: 'Composer 755'
path: '/usr/bin/composer'
shouldExist: true
permissions: '-rwxr-xr-x'
- name: 'PHP Entry point 775'
path: '/usr/local/bin/docker-php-entrypoint'
shouldExist: true
permissions: '-rwxrwxr-x'
commandTests:
- name: arch
command: [ "uname", "-m" ]
expectedOutput: [ "aarch64" ]
- name: php-fpm version
command: [ "/usr/local/sbin/php-fpm", "--version" ]
expectedOutput: [ "PHP 8.3" ]
- name: php-fpm-modules
command: [ "/usr/local/sbin/php-fpm", "-m" ]
expectedOutput:
- 'apcu'
- 'cgi-fcgi'
- 'Core'
- 'ctype'
- 'curl'
- 'date'
- 'dom'
- 'exif'
- 'fileinfo'
- 'filter'
- 'gd'
- 'hash'
- 'iconv'
- 'intl'
- 'json'
- 'libxml'
- 'mbstring'
- 'mysqlnd'
- 'openssl'
- 'pcre'
- 'PDO'
- 'pdo_mysql'
- 'Phar'
- 'posix'
- 'readline'
- 'Reflection'
- 'session'
- 'SimpleXML'
- 'sodium'
- 'SPL'
- 'standard'
- 'tokenizer'
- 'xml'
- 'xmlreader'
- 'xmlwriter'
- 'Zend OPcache'
- 'zip'
- 'zlib'
- name: php-cli version
command: [ "/usr/local/bin/php", "--version" ]
expectedOutput: [ "PHP 8.3" ]
- name: config-files
command: [ "/usr/local/bin/php", "--ini" ]
expectedOutput:
- '/usr/local/etc/php/conf.d/docker-php-ext-apcu.ini'
- '/usr/local/etc/php/conf.d/docker-php-ext-exif.ini'
- '/usr/local/etc/php/conf.d/docker-php-ext-gd.ini'
- '/usr/local/etc/php/conf.d/docker-php-ext-intl.ini'
- '/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini'
- '/usr/local/etc/php/conf.d/docker-php-ext-pdo_mysql.ini'
- '/usr/local/etc/php/conf.d/docker-php-ext-sodium.ini'
- '/usr/local/etc/php/conf.d/docker-php-ext-zip.ini'
- name: php-cli extensions
command: [ "/usr/local/bin/php", "-m" ]
expectedOutput:
- 'apcu'
- 'Core'
- 'ctype'
- 'curl'
- 'date'
- 'dom'
- 'exif'
- 'fileinfo'
- 'filter'
- 'gd'
- 'hash'
- 'iconv'
- 'intl'
- 'json'
- 'libxml'
- 'mbstring'
- 'mysqlnd'
- 'openssl'
- 'pcre'
- 'PDO'
- 'pdo_mysql'
- 'Phar'
- 'posix'
- 'readline'
- 'Reflection'
- 'session'
- 'SimpleXML'
- 'sodium'
- 'SPL'
- 'standard'
- 'tokenizer'
- 'xml'
- 'xmlreader'
- 'xmlwriter'
- 'Zend OPcache'
- 'zip'
- 'zlib'

0 comments on commit 468f2dc

Please sign in to comment.