
During debugging, the following changes are also included: - Support to specify an image ID to run the integration test. - Fix the reboot function bug. - Remove the unsuccessful restart test. How to run integration test with dev_mode=false: ADMIN_PASSWORD=password \ SERVICE_PASSWORD=password \ DEV_MODE=false \ /opt/stack/trove/integration/scripts/trovestack gate-tests mysql mysql Change-Id: I31d4ee579a554f4c98f9facb9fd4b7779665a3dd
13 lines
231 B
Bash
Executable File
13 lines
231 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
#CONTEXT: chroot on host
|
|
#PURPOSE: Allows mysqld to create temporary files when restoring backups
|
|
|
|
mkdir -p /etc/apparmor.d/local/
|
|
cat <<EOF >>/etc/apparmor.d/local/usr.sbin.mysqld
|
|
/tmp/ rw,
|
|
/tmp/** rwk,
|
|
EOF
|