提交 df9ae110 编写于 作者: Y yangbo

fix resource prepare

Signed-off-by: Nyangbo <yangbo258@huawei.com>
上级 ab3db6c4
...@@ -13,10 +13,14 @@ ...@@ -13,10 +13,14 @@
"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",
"scanner",
"param set persist.ace.testmode.enabled 1", "param set persist.ace.testmode.enabled 1",
"power-shell wakeup", "power-shell wakeup",
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
...@@ -55,7 +59,15 @@ ...@@ -55,7 +59,15 @@
], ],
"teardown-command": [ "teardown-command": [
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
"power-shell setmode 600" "power-shell setmode 600",
"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",
"scanner"
] ]
}, },
{ {
......
...@@ -13,10 +13,14 @@ ...@@ -13,10 +13,14 @@
"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",
"scanner",
"param set persist.ace.testmode.enabled 1", "param set persist.ace.testmode.enabled 1",
"power-shell wakeup", "power-shell wakeup",
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
...@@ -55,7 +59,15 @@ ...@@ -55,7 +59,15 @@
], ],
"teardown-command": [ "teardown-command": [
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
"power-shell setmode 600" "power-shell setmode 600",
"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",
"scanner"
] ]
}, },
{ {
......
...@@ -13,10 +13,14 @@ ...@@ -13,10 +13,14 @@
"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",
"scanner",
"param set persist.ace.testmode.enabled 1", "param set persist.ace.testmode.enabled 1",
"power-shell wakeup", "power-shell wakeup",
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
...@@ -55,7 +59,15 @@ ...@@ -55,7 +59,15 @@
], ],
"teardown-command": [ "teardown-command": [
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
"power-shell setmode 600" "power-shell setmode 600",
"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",
"scanner"
] ]
}, },
{ {
......
...@@ -13,10 +13,14 @@ ...@@ -13,10 +13,14 @@
"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",
"scanner",
"param set persist.ace.testmode.enabled 1", "param set persist.ace.testmode.enabled 1",
"power-shell wakeup", "power-shell wakeup",
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
...@@ -59,7 +63,15 @@ ...@@ -59,7 +63,15 @@
], ],
"teardown-command": [ "teardown-command": [
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
"power-shell setmode 600" "power-shell setmode 600",
"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",
"scanner"
] ]
}, },
{ {
......
...@@ -13,10 +13,14 @@ ...@@ -13,10 +13,14 @@
"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",
"scanner",
"param set persist.ace.testmode.enabled 1", "param set persist.ace.testmode.enabled 1",
"power-shell wakeup", "power-shell wakeup",
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
...@@ -59,7 +63,15 @@ ...@@ -59,7 +63,15 @@
], ],
"teardown-command": [ "teardown-command": [
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
"power-shell setmode 600" "power-shell setmode 600",
"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",
"scanner"
] ]
}, },
{ {
......
...@@ -13,10 +13,14 @@ ...@@ -13,10 +13,14 @@
"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",
"scanner",
"param set persist.ace.testmode.enabled 1", "param set persist.ace.testmode.enabled 1",
"power-shell wakeup", "power-shell wakeup",
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
...@@ -51,7 +55,15 @@ ...@@ -51,7 +55,15 @@
], ],
"teardown-command": [ "teardown-command": [
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
"power-shell setmode 600" "power-shell setmode 600",
"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",
"scanner"
] ]
}, },
{ {
......
...@@ -13,10 +13,14 @@ ...@@ -13,10 +13,14 @@
"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",
"scanner",
"param set persist.ace.testmode.enabled 1", "param set persist.ace.testmode.enabled 1",
"power-shell wakeup", "power-shell wakeup",
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
...@@ -55,7 +59,15 @@ ...@@ -55,7 +59,15 @@
], ],
"teardown-command": [ "teardown-command": [
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
"power-shell setmode 600" "power-shell setmode 600",
"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",
"scanner"
] ]
}, },
{ {
......
...@@ -13,10 +13,14 @@ ...@@ -13,10 +13,14 @@
"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",
"scanner",
"param set persist.ace.testmode.enabled 1", "param set persist.ace.testmode.enabled 1",
"power-shell wakeup", "power-shell wakeup",
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
...@@ -46,7 +50,15 @@ ...@@ -46,7 +50,15 @@
], ],
"teardown-command": [ "teardown-command": [
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
"power-shell setmode 600" "power-shell setmode 600",
"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",
"scanner"
] ]
}, },
{ {
......
...@@ -13,10 +13,14 @@ ...@@ -13,10 +13,14 @@
"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",
"scanner",
"param set persist.ace.testmode.enabled 1", "param set persist.ace.testmode.enabled 1",
"power-shell wakeup", "power-shell wakeup",
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
...@@ -46,7 +50,15 @@ ...@@ -46,7 +50,15 @@
], ],
"teardown-command": [ "teardown-command": [
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
"power-shell setmode 600" "power-shell setmode 600",
"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",
"scanner"
] ]
}, },
{ {
......
...@@ -13,10 +13,14 @@ ...@@ -13,10 +13,14 @@
"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",
"scanner",
"param set persist.ace.testmode.enabled 1", "param set persist.ace.testmode.enabled 1",
"power-shell wakeup", "power-shell wakeup",
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
...@@ -52,7 +56,15 @@ ...@@ -52,7 +56,15 @@
], ],
"teardown-command": [ "teardown-command": [
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
"power-shell setmode 600" "power-shell setmode 600",
"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",
"scanner"
] ]
}, },
{ {
......
...@@ -13,10 +13,14 @@ ...@@ -13,10 +13,14 @@
"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",
"scanner",
"param set persist.ace.testmode.enabled 1", "param set persist.ace.testmode.enabled 1",
"power-shell wakeup", "power-shell wakeup",
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
...@@ -55,7 +59,15 @@ ...@@ -55,7 +59,15 @@
], ],
"teardown-command": [ "teardown-command": [
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
"power-shell setmode 600" "power-shell setmode 600",
"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",
"scanner"
] ]
}, },
{ {
......
...@@ -13,10 +13,14 @@ ...@@ -13,10 +13,14 @@
"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",
"scanner",
"param set persist.ace.testmode.enabled 1", "param set persist.ace.testmode.enabled 1",
"power-shell wakeup", "power-shell wakeup",
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
...@@ -55,7 +59,15 @@ ...@@ -55,7 +59,15 @@
], ],
"teardown-command": [ "teardown-command": [
"hilog -b X -D 0xD002B70", "hilog -b X -D 0xD002B70",
"power-shell setmode 600" "power-shell setmode 600",
"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",
"scanner"
] ]
}, },
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册