Home
last modified time | relevance | path

Searched refs:TEST_FILE_NAME (Results 1 – 11 of 11) sorted by relevance

/picolibc-3.7.0-3.6.0/test/semihost/
Dsemihost-remove.c39 #define TEST_FILE_NAME "SEMIREMO.TXT" macro
48 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_W); in main()
50 printf("open %s failed\n", TEST_FILE_NAME); in main()
60 ret = sys_semihost_remove(TEST_FILE_NAME); in main()
62 printf("remove %s failed %d %d\n", TEST_FILE_NAME, ret, sys_semihost_errno()); in main()
66 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_R); in main()
68 printf("open %s should have failed\n", TEST_FILE_NAME); in main()
72 ret = sys_semihost_remove(TEST_FILE_NAME); in main()
74 printf("remove %s should have failed\n", TEST_FILE_NAME); in main()
81 (void) sys_semihost_remove(TEST_FILE_NAME); in main()
Dsemihost-open.c39 #define TEST_FILE_NAME "SEMIOPEN.TXT" macro
48 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_W); in main()
50 printf("open %s failed\n", TEST_FILE_NAME); in main()
60 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_R); in main()
62 printf("open %s failed\n", TEST_FILE_NAME); in main()
69 (void) sys_semihost_remove(TEST_FILE_NAME); in main()
Dsemihost-iserror.c38 #define TEST_FILE_NAME "SEMIERR.TXT" macro
45 (void) sys_semihost_remove(TEST_FILE_NAME); in main()
46 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_R); in main()
51 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_W); in main()
56 (void) sys_semihost_remove(TEST_FILE_NAME); in main()
Dsemihost-flen.c39 #define TEST_FILE_NAME "SEMIFLEN.TXT" macro
52 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_W); in main()
54 printf("open %s failed\n", TEST_FILE_NAME); in main()
70 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_R); in main()
72 printf("open %s failed\n", TEST_FILE_NAME); in main()
85 (void) sys_semihost_remove(TEST_FILE_NAME); in main()
Dsemihost-write.c40 #define TEST_FILE_NAME "SEMIWRIT.TXT" macro
54 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_W); in main()
56 printf("open %s failed\n", TEST_FILE_NAME); in main()
72 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_R); in main()
74 printf("open %s failed\n", TEST_FILE_NAME); in main()
93 (void) sys_semihost_remove(TEST_FILE_NAME); in main()
Dsemihost-read.c40 #define TEST_FILE_NAME "SEMIREAD.TXT" macro
54 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_W); in main()
56 printf("open %s failed\n", TEST_FILE_NAME); in main()
72 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_R); in main()
74 printf("open %s failed\n", TEST_FILE_NAME); in main()
93 (void) sys_semihost_remove(TEST_FILE_NAME); in main()
Dsemihost-close.c39 #define TEST_FILE_NAME "SEMICLOS.TXT" macro
48 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_W); in main()
50 printf("open %s failed\n", TEST_FILE_NAME); in main()
58 (void) sys_semihost_remove(TEST_FILE_NAME); in main()
Dsemihost-seek.c40 #define TEST_FILE_NAME "SEMISEEK.TXT" macro
55 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_W); in main()
57 printf("open %s failed\n", TEST_FILE_NAME); in main()
74 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_R); in main()
76 printf("open %s failed\n", TEST_FILE_NAME); in main()
105 (void) sys_semihost_remove(TEST_FILE_NAME); in main()
Dsemihost-istty.c39 #define TEST_FILE_NAME "SEMITEST.TXT" macro
48 fd = sys_semihost_open(TEST_FILE_NAME, SH_OPEN_W); in main()
50 printf("open %s failed\n", TEST_FILE_NAME); in main()
61 (void) sys_semihost_remove(TEST_FILE_NAME); in main()
/picolibc-3.7.0-3.6.0/test/
Dtest-fopen.c39 #ifndef TEST_FILE_NAME
40 #define TEST_FILE_NAME "FOPEN.TXT" macro
48 (void) remove(TEST_FILE_NAME); \
63 f = fopen(TEST_FILE_NAME, "r"); in check_contents()
84 f = fopen(TEST_FILE_NAME, "w"); in main()
91 f = fopen(TEST_FILE_NAME, "a"); in main()
98 f = fopen(TEST_FILE_NAME, "w"); in main()
103 (void) remove(TEST_FILE_NAME); in main()
Dtest-fread-fwrite.c41 #ifndef TEST_FILE_NAME
42 #define TEST_FILE_NAME "FIO.TXT" macro
120 char *file_name = TEST_FILE_NAME; in main()