...
| 代码块 | ||||
|---|---|---|---|---|
| ||||
# 顺序写测试 fio -filename=/temp/testfile -direct=1 -ioengine=psync -iodepth 128 -rw=write -bs=1M -size=3G -numjobs=4 -runtime=30 -group_reporting -name=iopstest -time_based=1 # 顺序读测试 fio -filename=/temp/testfile -direct=1 -ioengine=psync -iodepth 128 -rw=read -bs=1M -size=3G -numjobs=4 -runtime=30 -group_reporting -name=iopstest -time_based=1 # 随机写测试 fio -filename=/temp/testfile -direct=1 -ioengine=psync -iodepth 128 -rw=randwrite -bs=1M -size=3G -numjobs=4 -runtime=30 -group_reporting -name=iopstest -time_based=1 # 随机读测试 fio -filename=/temp/testfile -direct=1 -ioengine=psync -iodepth 128 -rw=randread -bs=1M -size=3G -numjobs=4 -runtime=30 -group_reporting -name=iopstest -time_based=1 # 随机读写混合测试(默认读写比例 50:50) fio -filename=/temp/testfile -direct=1 -ioengine=psync -iodepth 128 -rw=randrw -bs=1M -size=3G -numjobs=4 -runtime=30 -group_reporting -name=iopstest -time_based=1 |
4.Type-
...
C接口测试
1.ADB功能测试
1.
...
1. ADB基础连接测试
测试目的:验证 Type‑C 接口可正常建立 ADB 连接,设备可被 PC 识别。
...
2.成功进入设备 shell,无连接超时或权限拒绝。
1.2. ADB 核心指令执行测试
测试目的:验证 ADB 核心指令在 Type‑C 链路下可正常执行。
...
2.重启后 ADB 连接可自动恢复。
3.日志文件非空,包含有效运行日志。
1.3. Type‑C 插拔与稳定性测试
测试目的:验证 Type‑C 接口在插拔、晃动等场景下 ADB 连接的稳定性。
...
2.晃动过程中 ADB 连接不中断,无 IO 错误。
1.4. Type‑C 插拔与稳定性测试
测试目的:验证高负载场景下 Type‑C ADB 功能的稳定性。
...