• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:exit +full:- +full:code

1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * Copyright (c) 2017-2018, Intel Corporation
19 #include "sapi-util.h"
41 LOG_ERROR("Invalid prepare test FAILED! Response Code : 0x%x", rc); in test_invoke()
42 exit(1); in test_invoke()
48 LOG_ERROR("Prepare test FAILED! Response Code : 0x%x", rc); in test_invoke()
49 exit(1); in test_invoke()
54 LOG_ERROR("Prepare test FAILED! Response Code : 0x%x", rc); in test_invoke()
55 exit(1); in test_invoke()
60 LOG_ERROR("Invalid prepare test FAILED! Response Code : 0x%x", rc); in test_invoke()
61 exit(1); in test_invoke()
64 rc = Tss2_Sys_ExecuteFinish(sapi_context, -1); in test_invoke()
66 LOG_ERROR("Prepare test FAILED! Response Code : 0x%x", rc); in test_invoke()
67 exit(1); in test_invoke()
73 LOG_ERROR("Prepare test FAILED! Response Code : 0x%x", rc); in test_invoke()
74 exit(1); in test_invoke()
79 LOG_ERROR("Prepare test FAILED! Response Code : 0x%x", rc); in test_invoke()
80 exit(1); in test_invoke()
85 LOG_ERROR("Prepare test FAILED! Response Code : 0x%x", rc); in test_invoke()
86 exit(1); in test_invoke()
91 LOG_ERROR("Prepare test FAILED! Response Code : 0x%x", rc); in test_invoke()
92 exit(1); in test_invoke()
98 LOG_ERROR("Invalid prepare test FAILED! Response Code : 0x%x", rc); in test_invoke()
99 exit(1); in test_invoke()
104 LOG_ERROR("GetTestResult test FAILED! Response Code : 0x%x", rc); in test_invoke()
105 exit(1); in test_invoke()
111 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
112 exit(1); in test_invoke()
118 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
119 exit(1); in test_invoke()
122 /* Test the synchronous, non-one-call interface. */ in test_invoke()
125 LOG_ERROR("SAPI test FAILED! Response Code : 0x%x", rc); in test_invoke()
126 exit(1); in test_invoke()
132 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
133 exit(1); in test_invoke()
139 LOG_ERROR("SAPI test FAILED! Response Code : 0x%x", rc); in test_invoke()
140 exit(1); in test_invoke()
146 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
147 exit(1); in test_invoke()
153 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
154 exit(1); in test_invoke()
157 /* Now test the asynchronous, non-one-call interface. */ in test_invoke()
160 LOG_ERROR("SAPI test FAILED! Response Code : 0x%x", rc); in test_invoke()
161 exit(1); in test_invoke()
166 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
167 exit(1); in test_invoke()
173 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
174 exit(1); in test_invoke()
180 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
181 exit(1); in test_invoke()
187 LOG_ERROR("SAPI test FAILED! Response Code : 0x%x", rc); in test_invoke()
188 exit(1); in test_invoke()
194 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
195 exit(1); in test_invoke()
201 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
202 exit(1); in test_invoke()
208 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
209 exit(1); in test_invoke()
216 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
217 exit(1); in test_invoke()
224 LOG_ERROR("SAPI test FAILED! Response Code : 0x%x", rc); in test_invoke()
225 exit(1); in test_invoke()
230 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
231 exit(1); in test_invoke()
237 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
238 exit(1); in test_invoke()
244 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
245 exit(1); in test_invoke()
250 LOG_ERROR("SAPI test FAILED! Response Code : 0x%x", rc); in test_invoke()
251 exit(1); in test_invoke()
257 LOG_ERROR("SAPI test FAILED! Response Code : 0x%x", rc); in test_invoke()
258 exit(1); in test_invoke()
265 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
266 exit(1); in test_invoke()
271 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
272 exit(1); in test_invoke()
279 LOG_ERROR("SAPI test FAILED! Response Code : 0x%x", rc); in test_invoke()
280 exit(1); in test_invoke()
283 /* Test one-call for null sapi_context pointer. */ in test_invoke()
286 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
287 exit(1); in test_invoke()
290 /* Test one-call for NULL input parameter that should be a pointer. */ in test_invoke()
293 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
294 exit(1); in test_invoke()
300 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
301 exit(1); in test_invoke()
306 LOG_ERROR("SAPI invalid test FAILED! Response Code : 0x%x", rc); in test_invoke()
307 exit(1); in test_invoke()