提交 345ba910 编写于 作者: Y yangbo

fix resource prepare

Signed-off-by: Nyangbo <yangbo258@huawei.com>
上级 5828e838
...@@ -13,9 +13,12 @@ ...@@ -13,9 +13,12 @@
"type": "ShellKit", "type": "ShellKit",
"pre-push": [], "pre-push": [],
"run-command": [ "run-command": [
"rm -rf /storage/media/100/local/files/*", "rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*", "rm -rf /storage/media/100/local/files/Camera/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios}", "rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp", "mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0", "param set persist.sys.suspend_manager_enabled 0",
"reboot", "reboot",
...@@ -56,6 +59,13 @@ ...@@ -56,6 +59,13 @@
"sleep 10" "sleep 10"
], ],
"teardown-command": [ "teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1", "param set persist.sys.suspend_manager_enabled 1",
"reboot", "reboot",
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
......
...@@ -13,9 +13,12 @@ ...@@ -13,9 +13,12 @@
"type": "ShellKit", "type": "ShellKit",
"pre-push": [], "pre-push": [],
"run-command": [ "run-command": [
"rm -rf /storage/media/100/local/files/*", "rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*", "rm -rf /storage/media/100/local/files/Camera/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}", "rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp", "mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0", "param set persist.sys.suspend_manager_enabled 0",
"reboot", "reboot",
...@@ -56,6 +59,13 @@ ...@@ -56,6 +59,13 @@
"sleep 10" "sleep 10"
], ],
"teardown-command": [ "teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1", "param set persist.sys.suspend_manager_enabled 1",
"reboot", "reboot",
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
......
...@@ -13,9 +13,12 @@ ...@@ -13,9 +13,12 @@
"type": "ShellKit", "type": "ShellKit",
"pre-push": [], "pre-push": [],
"run-command": [ "run-command": [
"rm -rf /storage/media/100/local/files/*", "rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*", "rm -rf /storage/media/100/local/files/Camera/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}", "rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp", "mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0", "param set persist.sys.suspend_manager_enabled 0",
"reboot", "reboot",
...@@ -56,6 +59,13 @@ ...@@ -56,6 +59,13 @@
"sleep 10" "sleep 10"
], ],
"teardown-command": [ "teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1", "param set persist.sys.suspend_manager_enabled 1",
"reboot", "reboot",
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
......
...@@ -13,9 +13,12 @@ ...@@ -13,9 +13,12 @@
"type": "ShellKit", "type": "ShellKit",
"pre-push": [], "pre-push": [],
"run-command": [ "run-command": [
"rm -rf /storage/media/100/local/files/*", "rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*", "rm -rf /storage/media/100/local/files/Camera/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}", "rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp", "mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0", "param set persist.sys.suspend_manager_enabled 0",
"reboot", "reboot",
...@@ -60,6 +63,13 @@ ...@@ -60,6 +63,13 @@
"sleep 10" "sleep 10"
], ],
"teardown-command": [ "teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1", "param set persist.sys.suspend_manager_enabled 1",
"reboot", "reboot",
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
......
...@@ -13,9 +13,12 @@ ...@@ -13,9 +13,12 @@
"type": "ShellKit", "type": "ShellKit",
"pre-push": [], "pre-push": [],
"run-command": [ "run-command": [
"rm -rf /storage/media/100/local/files/*", "rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*", "rm -rf /storage/media/100/local/files/Camera/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}", "rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp", "mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0", "param set persist.sys.suspend_manager_enabled 0",
"reboot", "reboot",
...@@ -60,6 +63,13 @@ ...@@ -60,6 +63,13 @@
"sleep 10" "sleep 10"
], ],
"teardown-command": [ "teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1", "param set persist.sys.suspend_manager_enabled 1",
"reboot", "reboot",
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
......
...@@ -13,9 +13,12 @@ ...@@ -13,9 +13,12 @@
"type": "ShellKit", "type": "ShellKit",
"pre-push": [], "pre-push": [],
"run-command": [ "run-command": [
"rm -rf /storage/media/100/local/files/*", "rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*", "rm -rf /storage/media/100/local/files/Camera/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}", "rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp", "mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0", "param set persist.sys.suspend_manager_enabled 0",
"reboot", "reboot",
...@@ -52,6 +55,13 @@ ...@@ -52,6 +55,13 @@
"sleep 10" "sleep 10"
], ],
"teardown-command": [ "teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1", "param set persist.sys.suspend_manager_enabled 1",
"reboot", "reboot",
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
......
...@@ -13,9 +13,12 @@ ...@@ -13,9 +13,12 @@
"type": "ShellKit", "type": "ShellKit",
"pre-push": [], "pre-push": [],
"run-command": [ "run-command": [
"rm -rf /storage/media/100/local/files/*", "rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*", "rm -rf /storage/media/100/local/files/Camera/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}", "rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp", "mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0", "param set persist.sys.suspend_manager_enabled 0",
"reboot", "reboot",
...@@ -56,6 +59,13 @@ ...@@ -56,6 +59,13 @@
"sleep 10" "sleep 10"
], ],
"teardown-command": [ "teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1", "param set persist.sys.suspend_manager_enabled 1",
"reboot", "reboot",
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
......
...@@ -13,9 +13,12 @@ ...@@ -13,9 +13,12 @@
"type": "ShellKit", "type": "ShellKit",
"pre-push": [], "pre-push": [],
"run-command": [ "run-command": [
"rm -rf /storage/media/100/local/files/*", "rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.MediaLibraryDataA/*", "rm -rf /storage/media/100/local/files/Camera/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios}", "rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp", "mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0", "param set persist.sys.suspend_manager_enabled 0",
"reboot", "reboot",
...@@ -53,6 +56,13 @@ ...@@ -53,6 +56,13 @@
"sleep 10" "sleep 10"
], ],
"teardown-command": [ "teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1", "param set persist.sys.suspend_manager_enabled 1",
"reboot", "reboot",
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
......
...@@ -13,9 +13,12 @@ ...@@ -13,9 +13,12 @@
"type": "ShellKit", "type": "ShellKit",
"pre-push": [], "pre-push": [],
"run-command": [ "run-command": [
"rm -rf /storage/media/100/local/files/*", "rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/*", "rm -rf /storage/media/100/local/files/Camera/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}", "rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp", "mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0", "param set persist.sys.suspend_manager_enabled 0",
"reboot", "reboot",
...@@ -56,6 +59,13 @@ ...@@ -56,6 +59,13 @@
"sleep 10" "sleep 10"
], ],
"teardown-command": [ "teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1", "param set persist.sys.suspend_manager_enabled 1",
"reboot", "reboot",
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
......
...@@ -13,9 +13,12 @@ ...@@ -13,9 +13,12 @@
"type": "ShellKit", "type": "ShellKit",
"pre-push": [], "pre-push": [],
"run-command": [ "run-command": [
"rm -rf /storage/media/100/local/files/*", "rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /data/app/el2/100/database/com.ohos.medialibrary.MediaLibraryDataA/*", "rm -rf /storage/media/100/local/files/Camera/*",
"mkdir -pv /storage/media/100/local/files/{Pictures,Videos,Audios,Documents}", "rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"mkdir -p /storage/media/100/local/temp", "mkdir -p /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 0", "param set persist.sys.suspend_manager_enabled 0",
"reboot", "reboot",
...@@ -56,6 +59,13 @@ ...@@ -56,6 +59,13 @@
"sleep 10" "sleep 10"
], ],
"teardown-command": [ "teardown-command": [
"rm -rf /storage/media/100/local/files/Audios/*",
"rm -rf /storage/media/100/local/files/Camera/*",
"rm -rf /storage/media/100/local/files/Documents/*",
"rm -rf /storage/media/100/local/files/Download/*",
"rm -rf /storage/media/100/local/files/Pictures/*",
"rm -rf /storage/media/100/local/files/Videos/*",
"rm -rf /storage/media/100/local/temp",
"param set persist.sys.suspend_manager_enabled 1", "param set persist.sys.suspend_manager_enabled 1",
"reboot", "reboot",
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册