配置环境:
1.部署webtours网站
2.user.txt 3.HTMLTestRunner.py
"""
A TestRunner for use with the Python unit testing framework. It
generates a HTML report to show the result at a glance.The simplest way to use this is to invoke it…
1、创建测试文件:
for i in {1..4}; do touch $i.gz; done;2、将所有gz文件重命名为.gz.log2文件
ls | xargs -I {} sh -c mv {} {}.log2 3、将所有.log2文件改回为.gz文件
ls | xargs -I {} sh -c mv {} $(echo {} | sed "s/\.log2//g" ) 4、将所有的…