Lines Matching refs:tempnam
22 * @tc.desc : Call the tempnam method to generate a temporary file
29 char *result = tempnam(dir, pte);
31 t_error("%s tempnam error cannot create temp file\n", __func__);
34 t_error("%s tempnam get result not contain %s\n", __func__, pte);
40 * @tc.desc : test tempnam is the result when pfx is empty
47 char *result = tempnam(dir, pte);
49 t_error("%s tempnam error cannot create temp file\n", __func__);
55 * @tc.desc : Test tempnam results when the dir path does not exist
62 char *result = tempnam(dir, pte);
64 t_error("%s tempnam error cannot create temp file\n", __func__);
67 t_error("%s tempnam get result not contain %s\n", __func__, pte);
73 * @tc.desc : Test tempnam when the dir path is a file
80 char *result = tempnam(dir, pte);
82 t_error("%s tempnam error cannot create temp file\n", __func__);
85 t_error("%s tempnam get result not contain %s\n", __func__, pte);
91 * @tc.desc : Test tempnam when dir path is empty string
98 char *result = tempnam(dir, pte);
100 t_error("%s tempnam error cannot create temp file\n", __func__);
103 t_error("%s tempnam get result not contain %s\n", __func__, pte);