diff --git a/multimedia/camera/camera_js_standard/Test.json b/multimedia/camera/camera_js_standard/Test.json index 3359032fdf10f9915df708736d68a690735efcd2..25338586851fb200eff3a79140205ca0f21f09fa 100644 --- a/multimedia/camera/camera_js_standard/Test.json +++ b/multimedia/camera/camera_js_standard/Test.json @@ -11,11 +11,11 @@ "type": "ShellKit", "run-command": [ "touch /data/media/01.mp4", - "chmod -R 777 /data/media", - "setenforce 0" + "chmod -R 777 /data/media" + ], "teardown-command":[ - "setenforce 1" + ] }, { diff --git a/multimedia/medialibrary/mediaLibrary_js_standard/Test.json b/multimedia/medialibrary/mediaLibrary_js_standard/Test.json index 1aba1116b02256e41350d04fd5194e2ac21457f3..9aae013eacc7074579fd42715bb89335c27016ad 100644 --- a/multimedia/medialibrary/mediaLibrary_js_standard/Test.json +++ b/multimedia/medialibrary/mediaLibrary_js_standard/Test.json @@ -54,7 +54,7 @@ "aa start -a MediaScannerAbility -b com.ohos.medialibrary.MediaScannerAbilityA" ], "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/*" ] },