diff --git a/multimedia/media/media_js_standard/audioPlayer/Test.json b/multimedia/media/media_js_standard/audioPlayer/Test.json index 392125a3583e0f1d3808b6d597be6d5de1272bf2..bf19fbf7825e6f1d15e7efacfa54f688d5936c2e 100644 --- a/multimedia/media/media_js_standard/audioPlayer/Test.json +++ b/multimedia/media/media_js_standard/audioPlayer/Test.json @@ -19,9 +19,12 @@ { "type": "ShellKit", "run-command": [ - "mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.audio.audioplayer/haps/entry/files" + "mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.audio.audioplayer/haps/entry/files", + "power-shell setmode 602" ], - "teardown-command": [] + "teardown-command": [ + "power-shell setmode 600" + ] }, { "type": "PushKit", diff --git a/multimedia/media/media_js_standard/audioRecorder/Test.json b/multimedia/media/media_js_standard/audioRecorder/Test.json index 39dee97240181fdefca3e38c6fd4dc9be4451ebb..80ac1b4abcb3d8dcc4597f0bfed3450fd353d120 100644 --- a/multimedia/media/media_js_standard/audioRecorder/Test.json +++ b/multimedia/media/media_js_standard/audioRecorder/Test.json @@ -11,9 +11,11 @@ "type": "ShellKit", "run-command": [ "rm -rf /storage/media/100/local/files/Videos/audio_*", - "rm -rf /storage/media/100/local/files/Audios/audio_*" + "rm -rf /storage/media/100/local/files/Audios/audio_*", + "power-shell setmode 602" ], "teardown-command":[ + "power-shell setmode 600" ] }, { diff --git a/multimedia/media/media_js_standard/recorderFormat/Test.json b/multimedia/media/media_js_standard/recorderFormat/Test.json index 37090d0076f4f6b693556502176709c1a3607176..84d1d52a0304c7732001a8fc4775cb3ca9359a07 100644 --- a/multimedia/media/media_js_standard/recorderFormat/Test.json +++ b/multimedia/media/media_js_standard/recorderFormat/Test.json @@ -12,9 +12,12 @@ { "type": "ShellKit", "run-command": [ - "rm -rf /storage/media/100/local/files/Videos/COMPATIBILITY*" + "rm -rf /storage/media/100/local/files/Videos/COMPATIBILITY*", + "power-shell setmode 602" ], - "teardown-command": [] + "teardown-command": [ + "power-shell setmode 600" + ] }, { "test-file-name": [ diff --git a/multimedia/media/media_js_standard/videoPlayer/Test.json b/multimedia/media/media_js_standard/videoPlayer/Test.json index a8de664040379cb52286a4614600e948b2950a1b..c02f96837acbbac60b2250e914b30683e2e0281d 100644 --- a/multimedia/media/media_js_standard/videoPlayer/Test.json +++ b/multimedia/media/media_js_standard/videoPlayer/Test.json @@ -19,9 +19,12 @@ { "type": "ShellKit", "run-command": [ - "mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.video.videoplayer/haps/entry/files" + "mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.video.videoplayer/haps/entry/files", + "power-shell setmode 602" ], - "teardown-command": [] + "teardown-command": [ + "power-shell setmode 600" + ] }, { "type": "PushKit",