TT#47721 Use mariadb.cnf instead of my.cnf, restore "alternatives" symlinks

After changes to restore /etc/mysql/my.cnf to keep using "alternatives" and the
configuration moving to mariadb.cnf, as the packages coming from Debian, modify
these tests to check the new expected scenario.

Change-Id: If43c842e633151e895754f6a345472cdb9c9888c
changes/35/25135/1
Manuel Montecelo 7 years ago
parent c8cef488c4
commit 0fded85f6e

@ -160,6 +160,17 @@ file:
filetype: directory
contains: []
/etc/mysql/mariadb.cnf:
exists: true
mode: "0444"
owner: root
group: root
filetype: file
contains:
- '/^\[mysql\]$/'
- '/^\[mysqld\]$/'
- '/^\[mysqldump\]$/'
/etc/mysql/inc/my.client.cnf:
exists: true
mode: "0444"
@ -202,10 +213,11 @@ file:
/etc/mysql/my.cnf:
exists: true
mode: "0444"
mode: "0777"
owner: root
group: root
filetype: file
linked-to: /etc/alternatives/my.cnf
filetype: symlink
contains: []
/etc/mysql/sipwise.cnf:
@ -221,6 +233,6 @@ file:
mode: "0777"
owner: root
group: root
linked-to: /etc/mysql/my.cnf
linked-to: /etc/mysql/mariadb.cnf
filetype: symlink
contains: []

Loading…
Cancel
Save