From 0f1ffe13d6316b9966f43bb9910def40d34b92fb Mon Sep 17 00:00:00 2001 From: qiaozzzh Date: Thu, 9 Mar 2023 17:09:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9hap=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: qiaozzzh Change-Id: Ic04b58c2e09553c53d318f67519baf1aae04a0ae --- security/certificate_framework/js_api_test_one/Test.json | 6 +++--- security/cryptoFramework/js_api_test_one/Test.json | 6 +++--- .../face_auth/js_api_test/function_test/userauth/Test.json | 7 +++---- .../function_test/userauthnopermission/Test.json | 7 +++---- .../js_api_test/function_test/userauthpart2/Test.json | 7 +++---- 5 files changed, 15 insertions(+), 18 deletions(-) diff --git a/security/certificate_framework/js_api_test_one/Test.json b/security/certificate_framework/js_api_test_one/Test.json index 35271e3fa..d9c080091 100644 --- a/security/certificate_framework/js_api_test_one/Test.json +++ b/security/certificate_framework/js_api_test_one/Test.json @@ -16,17 +16,17 @@ }, { "type": "ShellKit", - "run-command": ["remount", "mkdir /data/test"] + "run-command": ["remount", "mkdir -p /data/local/tmp/xts-test"] }, { "type": "PushKit", "push": [ - "ActsCertificateFrameworkJSNormalTest.hap->/data/test/ActsCertificateFrameworkJSNormalTest.hap" + "ActsCertificateFrameworkJSNormalTest.hap->/data/local/tmp/xts-test/ActsCertificateFrameworkJSNormalTest.hap" ] }, { "type": "ShellKit", - "run-command": ["chmod 644 /data/test/*.hap", "chmod 777 -R data"] + "run-command": ["chmod 777 -R /data/local/tmp/xts-test"] } ] } diff --git a/security/cryptoFramework/js_api_test_one/Test.json b/security/cryptoFramework/js_api_test_one/Test.json index 1573856c5..35afab591 100644 --- a/security/cryptoFramework/js_api_test_one/Test.json +++ b/security/cryptoFramework/js_api_test_one/Test.json @@ -16,17 +16,17 @@ }, { "type": "ShellKit", - "run-command": ["remount", "mkdir /data/test"] + "run-command": ["remount", "mkdir -p /data/local/tmp/xts-test"] }, { "type": "PushKit", "push": [ - "ActsCryptoFrameworkJSNormalTest.hap->/data/test/ActsCryptoFrameworkJSNormalTest.hap" + "ActsCryptoFrameworkJSNormalTest.hap->/data/local/tmp/xts-test/ActsCryptoFrameworkJSNormalTest.hap" ] }, { "type": "ShellKit", - "run-command": ["chmod 644 /data/test/*.hap", "chmod 777 -R data"] + "run-command": ["chmod 777 -R /data/local/tmp/xts-test"] } ] } diff --git a/useriam/face_auth/js_api_test/function_test/userauth/Test.json b/useriam/face_auth/js_api_test/function_test/userauth/Test.json index dbc66873c..e80337043 100644 --- a/useriam/face_auth/js_api_test/function_test/userauth/Test.json +++ b/useriam/face_auth/js_api_test/function_test/userauth/Test.json @@ -19,20 +19,19 @@ "type": "ShellKit", "run-command": [ "remount", - "mkdir /data/test" + "mkdir -p /data/local/tmp/xts-test" ] }, { "type": "PushKit", "push": [ - "ActsUserauthTest.hap->/data/test/ActsUserauthTest.hap" + "ActsUserauthTest.hap->/data/local/tmp/xts-test/ActsUserauthTest.hap" ] }, { "type": "ShellKit", "run-command": [ - "chmod 644 /data/test/*.hap", - "chmod 777 -R data" + "chmod 777 -R /data/local/tmp/xts-test" ] } ] diff --git a/useriam/face_auth/js_api_test/function_test/userauthnopermission/Test.json b/useriam/face_auth/js_api_test/function_test/userauthnopermission/Test.json index 405781033..598f7b47a 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthnopermission/Test.json +++ b/useriam/face_auth/js_api_test/function_test/userauthnopermission/Test.json @@ -19,20 +19,19 @@ "type": "ShellKit", "run-command": [ "remount", - "mkdir /data/test" + "mkdir -p /data/local/tmp/xts-test" ] }, { "type": "PushKit", "push": [ - "ActsUserauthnopermissionTest.hap->/data/test/ActsUserauthnopermissionTest.hap" + "ActsUserauthnopermissionTest.hap->/data/local/tmp/xts-test/ActsUserauthnopermissionTest.hap" ] }, { "type": "ShellKit", "run-command": [ - "chmod 644 /data/test/*.hap", - "chmod 777 -R data" + "chmod 777 -R /data/local/tmp/xts-test" ] } ] diff --git a/useriam/face_auth/js_api_test/function_test/userauthpart2/Test.json b/useriam/face_auth/js_api_test/function_test/userauthpart2/Test.json index b083f183e..b39cd384c 100644 --- a/useriam/face_auth/js_api_test/function_test/userauthpart2/Test.json +++ b/useriam/face_auth/js_api_test/function_test/userauthpart2/Test.json @@ -19,20 +19,19 @@ "type": "ShellKit", "run-command": [ "remount", - "mkdir /data/test" + "mkdir -p /data/local/tmp/xts-test" ] }, { "type": "PushKit", "push": [ - "ActsUserauthTwoTest.hap->/data/test/ActsUserauthTwoTest.hap" + "ActsUserauthTwoTest.hap->/data/local/tmp/xts-test/ActsUserauthTwoTest.hap" ] }, { "type": "ShellKit", "run-command": [ - "chmod 644 /data/test/*.hap", - "chmod 777 -R data" + "chmod 777 -R /data/local/tmp/xts-test" ] } ] -- GitLab