Home
last modified time | relevance | path

Searched refs:tarFd (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/
DIt_ipc_mkfifo_003.cpp39 int tarFd, ret, spid; in Testcase() local
55 tarFd = open(pathname, O_WRONLY, 0777); // 0777, file athurioty in Testcase()
56 if (tarFd == -1) { in Testcase()
59 printf("son tarfd = %d\n", tarFd); in Testcase()
60 ret = write(tarFd, "hello world", TAR_STR_LEN); in Testcase()
65 close(tarFd); in Testcase()
69 tarFd = open(pathname, O_RDONLY, 0777); // 0777, file athurioty in Testcase()
70 printf("son tarfd = %d\n", tarFd); in Testcase()
71 ICUNIT_GOTO_NOT_EQUAL(tarFd, -1, tarFd, EXIT); in Testcase()
73 ret = read(tarFd, buffer, TAR_STR_LEN); in Testcase()
[all …]
DIt_ipc_mkfifo_002.cpp39 int tarFd, ret, spid; in Testcase() local
56 tarFd = open(pathname, O_WRONLY, 0777); // 0777, file athurioty in Testcase()
57 if (tarFd == -1) { in Testcase()
60 printf("son tarfd = %d\n", tarFd); in Testcase()
61 ret = write(tarFd, "hello world", TAR_STR_LEN); in Testcase()
66 close(tarFd); in Testcase()
70 tarFd = open(pathname, O_RDONLY, 0777); // 0777, file athurioty in Testcase()
71 printf("son tarfd = %d\n", tarFd); in Testcase()
72 ICUNIT_GOTO_NOT_EQUAL(tarFd, -1, tarFd, EXIT); in Testcase()
73 ret = read(tarFd, buffer, TAR_STR_LEN); in Testcase()
[all …]