Modify the script of building test env