Changeset 08e103d4 in mainline for uspace/lib/posix/test/stdlib.c
- Timestamp:
- 2019-02-05T18:26:05Z (6 years ago)
- Children:
- 1d2f85e
- Parents:
- d066259
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-05 16:16:55)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-05 18:26:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/test/stdlib.c
rd066259 r08e103d4 54 54 PCUT_ASSERT_TRUE(p == buf); 55 55 PCUT_ASSERT_TRUE(str_lcmp(p, MKSTEMP_TEMPL, 56 str_ length(MKSTEMP_TEMPL) - 6) == 0);56 str_code_points(MKSTEMP_TEMPL) - 6) == 0); 57 57 58 58 file = open(p, O_CREAT | O_EXCL | O_RDWR, 0600); … … 76 76 PCUT_ASSERT_TRUE(p == buf1); 77 77 PCUT_ASSERT_TRUE(str_lcmp(p, MKSTEMP_TEMPL, 78 str_ length(MKSTEMP_TEMPL) - 6) == 0);78 str_code_points(MKSTEMP_TEMPL) - 6) == 0); 79 79 80 80 p = mktemp(buf2); 81 81 PCUT_ASSERT_TRUE(p == buf2); 82 82 PCUT_ASSERT_TRUE(str_lcmp(p, MKSTEMP_TEMPL, 83 str_ length(MKSTEMP_TEMPL) - 6) == 0);83 str_code_points(MKSTEMP_TEMPL) - 6) == 0); 84 84 85 85 PCUT_ASSERT_TRUE(str_cmp(buf1, buf2) != 0);
Note:
See TracChangeset
for help on using the changeset viewer.