mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 18:30:16 +00:00
Fixed tests for pt-stalk
This commit is contained in:
@@ -246,7 +246,6 @@ else
|
||||
fi
|
||||
|
||||
APP="${FORK:-"mysql"}"
|
||||
echo "APP $APP" > /home/karl/k
|
||||
|
||||
if [ $type = "cluster" -o $APP = "pxc" ]; then
|
||||
# disabled for now because used perl module is not available everywhere and in some distros it returns ipv6 address
|
||||
@@ -256,7 +255,6 @@ if [ $type = "cluster" -o $APP = "pxc" ]; then
|
||||
else
|
||||
version=`$PERCONA_TOOLKIT_SANDBOX/$mysqld -V 2>/dev/null | awk '{print $3}' | cut -d. -f 1,2`;
|
||||
fi
|
||||
echo "version $version" >> /home/karl/k
|
||||
|
||||
if [ ! -d "$PERCONA_TOOLKIT_BRANCH/sandbox/servers/${APP#mysql}/$version" ]; then
|
||||
die "$PERCONA_TOOLKIT_BRANCH/sandbox/servers/${APP#mysql}/$version does not exist."
|
||||
|
Reference in New Issue
Block a user