Skip to content

Commit

Permalink
Merge pull request #18678 from DeepthiYV/php_tests
Browse files Browse the repository at this point in the history
Move the php tests to stack_tests_php testsuite
  • Loading branch information
michaelgrifalconi committed Feb 29, 2024
2 parents 7c52511 + 187d99c commit 26346a0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
5 changes: 0 additions & 5 deletions schedule/qam/common/mau-webserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ schedule:
- console/postgresql_server
- console/mariadb_srv
- console/sqlite3
- console/php_version
- console/php_pcre
- console/php_mysql
- console/php_postgresql
- console/php_timezone
- console/flask
- '{{version_specific}}'
- console/zypper_log_packages
Expand Down
12 changes: 12 additions & 0 deletions schedule/qam/common/stack_tests_php.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: stack_tests_php
description: PHP tests
schedule:
- installation/bootloader_start
- boot/boot_to_desktop
- console/prepare_test_data
- console/php_version
- console/php_pcre
- console/php_mysql
- console/php_postgresql
- console/php_timezone
4 changes: 4 additions & 0 deletions tests/console/php_version.pm
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@ sub run {
# test reading file
assert_script_run('php -r \'echo readfile("/etc/hosts")."\\n";\' | grep localhost');
}

sub test_flags {
return {fatal => 1};
}
1;

0 comments on commit 26346a0

Please sign in to comment.