提交 ab6257db 编写于 作者: G gudehe 提交者: zhang-daiyue

add test resource & new signature file

Signed-off-by: Ngudehe <gudehe@huawei.com>
上级 16d8be51
...@@ -12,16 +12,24 @@ ...@@ -12,16 +12,24 @@
"pre-push": [ "pre-push": [
], ],
"push": [ "push": [
"./resource/medialibrary/01.jpg ->/storage/media/100/local/files",
"./resource/medialibrary/01.mp3 ->/storage/media/100/local/files",
"./resource/medialibrary/01.mp4 ->/storage/media/100/local/files"
] ]
}, },
{ {
"type": "ShellKit", "type": "ShellKit",
"run-command": [ "run-command": [
"chmod -R 777 /storage/media/*", "for n in `seq 1 999`; do cp /storage/media/100/local/files/01.jpg /storage/media/100/local/files/copy-$n.jpg; done;",
"for n in `seq 1 999`; do cp /storage/media/100/local/files/01.mp3 /storage/media/100/local/files/copy-$n.mp3; done;",
"for n in `seq 1 999`; do cp /storage/media/100/local/files/01.mp4 /storage/media/100/local/files/copy-$n.mp4; done;",
"chmod -R 777 /storage/media/100/local/files/*",
"chmod -R 777 /data/service/el2/100/hmdfs/account/files/*",
"setenforce 0" "setenforce 0"
], ],
"teardown-command":[ "teardown-command":[
"setenforce 1" "setenforce 1",
"rm -rf /storage/media/100/local/files/*"
] ]
}, },
{ {
...@@ -32,4 +40,4 @@ ...@@ -32,4 +40,4 @@
"cleanup-apps": true "cleanup-apps": true
} }
] ]
} }
\ No newline at end of file
...@@ -76,5 +76,13 @@ ...@@ -76,5 +76,13 @@
} }
} }
] ]
"reqPermissions": [
{
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name": "ohos.permission.GET_BUNDLE_INFO"
}
]
} }
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册