diff --git a/tests/tiup-cluster/run.sh b/tests/tiup-cluster/run.sh index 64f9292288..8c23e82f63 100755 --- a/tests/tiup-cluster/run.sh +++ b/tests/tiup-cluster/run.sh @@ -17,7 +17,7 @@ export old_version=${old_version-v3.0.16} echo "preparing local config" rm -rf /tmp/local cp -r ./local /tmp/local -ls -l /tmp/local +find /tmp/local function tiup-cluster() { mkdir -p "~/.tiup/bin" && cp -f ./root.json ~/.tiup/bin/ diff --git a/tests/tiup-dm/run.sh b/tests/tiup-dm/run.sh index b3ac3227bf..1f19ae14e1 100755 --- a/tests/tiup-dm/run.sh +++ b/tests/tiup-dm/run.sh @@ -39,7 +39,7 @@ export version=${version-nightly} echo "preparing local config" rm -rf /tmp/local cp -r ./local /tmp/local -ls -l /tmp/local +find /tmp/local function tiup-dm() { mkdir -p ~/.tiup/bin && cp -f ./root.json ~/.tiup/bin/