鸿蒙3.2-release分支所编译的测试套件,使用xdevice 测试框架进行小型系统测试,用NFS配置挂载, 由于根目录下没有权限创建目录,如何自行修改 local_COM1 execute command  的命令啊,

[2023-10-26 22:06:37,591] [58052] [DmlibLite] [INFO] [local_COM1 execute command shell cd /storage with timeout 1s]
[2023-10-26 22:06:37,602] [58052] [DeviceLite] [DEBUG] [local_COM1 execute result:WAP(Dopra Linux) # cd /storage
-/bin/sh: cd: can't cd to /storage: No such file or directory
WAP(Dopra Linux) # 
]
[2023-10-26 22:06:37,602] [58052] [DmlibLite] [INFO] [local_COM1 execute command shell mkdir test_root with timeout 1s]
[2023-10-26 22:06:37,620] [58052] [DeviceLite] [DEBUG] [local_COM1 execute result:WAP(Dopra Linux) # mkdir test_root
Open device /dev/pts/4 OK! fd = 22.
mkdir: can't create directory 'test_root': Read-only file system
WAP(Dopra Linux) # 
]
[2023-10-26 22:06:37,620] [58052] [DmlibLite] [INFO] [local_COM1 execute command shell cd test_root with timeout 1s]
[2023-10-26 22:06:37,632] [58052] [DeviceLite] [DEBUG] [local_COM1 execute result:WAP(Dopra Linux) # cd test_root
-/bin/sh: cd: can't cd to test_root: No such file or directory
WAP(Dopra Linux) # 
]
[2023-10-26 22:06:37,632] [58052] [DmlibLite] [INFO] [local_COM1 execute command shell mkdir tools with timeout 1s]
[2023-10-26 22:06:37,649] [58052] [DeviceLite] [DEBUG] [local_COM1 execute result:WAP(Dopra Linux) # mkdir tools
mkdir: can't create directory 'tools': Read-only file system
WAP(Dopra Linux) # 
]
[2023-10-26 22:06:37,649] [58052] [DmlibLite] [INFO] [local_COM1 execute command shell cd tools with timeout 1s]
[2023-10-26 22:06:37,658] [58052] [DeviceLite] [DEBUG] [local_COM1 execute result:WAP(Dopra Linux) # cd tools
-/bin/sh: cd: can't cd to tools: No such file or directory
WAP(Dopra Linux) # 
]
[2023-10-26 22:06:37,659] [58052] [DmlibLite] [INFO] [local_COM1 execute command shell cd /storage with timeout 1s]
[2023-10-26 22:06:37,670] [58052] [DeviceLite] [DEBUG] [local_COM1 execute result:WAP(Dopra Linux) # cd /storage
-/bin/sh: cd: can't cd to /storage: No such file or directory
WAP(Dopra Linux) # 
]
[2023-10-26 22:06:37,670] [58052] [DmlibLite] [INFO] [local_COM1 execute command shell cd /storage with timeout 1s]
[2023-10-26 22:06:37,681] [58052] [DeviceLite] [DEBUG] [local_COM1 execute result:WAP(Dopra Linux) # cd /storage
-/bin/sh: cd: can't cd to /storage: No such file or directory
WAP(Dopra Linux) # 
]
[2023-10-26 22:06:37,682] [58052] [DmlibLite] [INFO] [local_COM1 execute command shell umount -f /storage/test_root/tools with timeout 1s]
[2023-10-26 22:06:37,702] [58052] [DeviceLite] [DEBUG] [local_COM1 execute result:WAP(Dopra Linux) # umount -f /storage/test_root/tools
umount: can't unmount /storage/test_root/tools: No such file or directory
 

Logo

社区规范:仅讨论OpenHarmony相关问题。

更多推荐