• R/O
  • SSH

libctools: Commit

This library contains code that extends and simplifies different operations
for C language based programs.


Commit MetaInfo

Revisión6ca105934f62418085584c4ce30820e98f9d47a2 (tree)
Tiempo2022-08-29 23:54:58
AutorSergey Gusarov <laborer2008@gmai...>
CommiterSergey Gusarov

Log Message

test_stat: Fixed build on windows

Cambiar Resumen

Diferencia incremental

diff -r 9c00d87eecd1 -r 6ca105934f62 tests/src/std/sys/test_stat.c
--- a/tests/src/std/sys/test_stat.c Mon Aug 29 17:40:23 2022 +0300
+++ b/tests/src/std/sys/test_stat.c Mon Aug 29 17:54:58 2022 +0300
@@ -23,7 +23,7 @@
2323 {
2424 }
2525
26-void testCompile(void)
26+void testCompileWrappers(void)
2727 {
2828 CT_USING_CT_NAMESPACE
2929
@@ -32,10 +32,10 @@
3232 int mkdirStatus;
3333 int statStatus;
3434
35- chmodStatus = chmodWrapper(CT_NULL, S_ISUID);
35+ chmodStatus = chmodWrapper(CT_NULL, 0);
3636 TEST_ASSERT_TRUE(chmodStatus != kChModOkResult);
3737
38- mkdirStatus = mkDirWrapper(CT_NULL, S_IROTH, true);
38+ mkdirStatus = mkDirWrapper(CT_NULL, 0, true);
3939 TEST_ASSERT_TRUE(mkdirStatus != kMkDirOkResult);
4040
4141 statStatus = statWrapper(CT_NULL, CT_NULL);
Show on old repository browser