xref: /test/xts/dcts/testtools/config/dcts.json (revision 0704ebd2)
10704ebd2Sopenharmony_ci{
20704ebd2Sopenharmony_ci    "description": "Common configurations for running dcts modules",
30704ebd2Sopenharmony_ci    "kits": [
40704ebd2Sopenharmony_ci        {
50704ebd2Sopenharmony_ci            "type": "PropertyCheckKit",
60704ebd2Sopenharmony_ci            "property-name": "ro.build.type",
70704ebd2Sopenharmony_ci            "expected-value": "user",
80704ebd2Sopenharmony_ci            "throw-error": "false"
90704ebd2Sopenharmony_ci        },
100704ebd2Sopenharmony_ci        {
110704ebd2Sopenharmony_ci            "type": "PropertyCheckKit",
120704ebd2Sopenharmony_ci            "property-name": "ro.product.locale",
130704ebd2Sopenharmony_ci            "expected-value": "en-US",
140704ebd2Sopenharmony_ci            "throw-error": "false"
150704ebd2Sopenharmony_ci        },
160704ebd2Sopenharmony_ci        {
170704ebd2Sopenharmony_ci            "type": "ShellKit",
180704ebd2Sopenharmony_ci            "run-command": [
190704ebd2Sopenharmony_ci                "remount",
200704ebd2Sopenharmony_ci                "mkdir /data/data/resource",
210704ebd2Sopenharmony_ci                "chmod -R 777 /data/data/resource",
220704ebd2Sopenharmony_ci		"settings put global verifier_verify_hdc_installs 0",
230704ebd2Sopenharmony_ci                "settings put secure hdc_install_need_confirm 0",
240704ebd2Sopenharmony_ci                "settings put secure smart_suggestion_enable 1"
250704ebd2Sopenharmony_ci            ],
260704ebd2Sopenharmony_ci            "teardown-command": [
270704ebd2Sopenharmony_ci                "remount",
280704ebd2Sopenharmony_ci                "rm -rf /data/data/resource"
290704ebd2Sopenharmony_ci            ]
300704ebd2Sopenharmony_ci        }
310704ebd2Sopenharmony_ci    ]
320704ebd2Sopenharmony_ci}
33