From: Waldemar Kozaczuk <[email protected]> Committer: Waldemar Kozaczuk <[email protected]> Branch: master
mysql: enhance test script to run it with vhost/tap networking setup Signed-off-by: Waldemar Kozaczuk <[email protected]> --- diff --git a/mysql/test.sh b/mysql/test.sh --- a/mysql/test.sh +++ b/mysql/test.sh @@ -3,9 +3,15 @@ THIS_DIR=$(readlink -f $(dirname $0)) CMDLINE=$($THIS_DIR/../cmdline.sh $THIS_DIR) +if [ "$OSV_HYPERVISOR" == "firecracker" ]; then $THIS_DIR/../../scripts/tests/test_app_with_test_script.py \ -e "$CMDLINE" \ - --guest_port 3306 \ - --host_port 3306 \ --start_line 'ready for connections' \ --script_path $THIS_DIR/tester.py +else +sudo $THIS_DIR/../../scripts/tests/test_app_with_test_script.py \ + -e "$CMDLINE" \ + --vhost \ + --start_line 'ready for connections' \ + --script_path $THIS_DIR/tester.py +fi -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/00000000000042d32e05985a5e44%40google.com.
