未验证 提交 7bbff739 编写于 作者: O openharmony_ci 提交者: Gitee

!2890 【媒体子系统】流水线问题整改

Merge pull request !2890 from tongtongdad/OpenHarmony-3.1-Release
...@@ -11,11 +11,11 @@ ...@@ -11,11 +11,11 @@
"type": "ShellKit", "type": "ShellKit",
"run-command": [ "run-command": [
"touch /data/media/01.mp4", "touch /data/media/01.mp4",
"chmod -R 777 /data/media", "chmod -R 777 /data/media"
"setenforce 0"
], ],
"teardown-command":[ "teardown-command":[
"setenforce 1"
] ]
}, },
{ {
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
"aa start -a MediaScannerAbility -b com.ohos.medialibrary.MediaScannerAbilityA" "aa start -a MediaScannerAbility -b com.ohos.medialibrary.MediaScannerAbilityA"
], ],
"teardown-command":[ "teardown-command":[
"rm -rf /storage/media/100/local/files/*" "rm -rf /storage/media/100/local/files/*",
"rm -rf /data/accounts/account_0/appdata/com.ohos.medialibrary.MediaLibraryDataA/database/*" "rm -rf /data/accounts/account_0/appdata/com.ohos.medialibrary.MediaLibraryDataA/database/*"
] ]
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册