diff --git a/tests/script/sh/mv_old_data.sh b/tests/script/sh/mv_old_data.sh index 112e9760d637d9698b87729c06ba7b2bde9651f8..87fcbb6def32c1a06e7349820f8e8b13c8fe99e6 100755 --- a/tests/script/sh/mv_old_data.sh +++ b/tests/script/sh/mv_old_data.sh @@ -35,3 +35,6 @@ rm -rf $SIM_DIR/dnode3 rm -rf $SIM_DIR/tsim tar zxf $SCRIPT_DIR/general/connection/sim.tar.gz -C $SIM_DIR/../ +cd $SIM_DIR/../sim +fqdn=`hostname` +grep '${fqdn}' -l -r ./* | xargs sed -i 's/${fqdn}/${fqdn}/g'