• R/O
  • SSH

libctools: Commit

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


Commit MetaInfo

Revisión957a3d1e5ad2efb68c24ed860fd8b4f77464b1ef (tree)
Tiempo2022-10-04 14:01:17
AutorSergey Gusarov <laborer2008@gmai...>
CommiterSergey Gusarov

Log Message

Fixed test_io with bcc

Cambiar Resumen

Diferencia incremental

diff -r 2c69348334ac -r 957a3d1e5ad2 src/os/io.c
--- a/src/os/io.c Tue Oct 04 07:45:40 2022 +0300
+++ b/src/os/io.c Tue Oct 04 08:01:17 2022 +0300
@@ -64,7 +64,7 @@
6464 kAbsPath = realpath(path, resolvedPath);
6565
6666 if (kAbsPath == CT_NULL)
67- CT_TRACE_ERRORC("realpth() failed");
67+ CT_TRACE_ERRORC("realpath() failed");
6868 }
6969 while (false);
7070
diff -r 2c69348334ac -r 957a3d1e5ad2 tests/src/os/test_io.c
--- a/tests/src/os/test_io.c Tue Oct 04 07:45:40 2022 +0300
+++ b/tests/src/os/test_io.c Tue Oct 04 08:01:17 2022 +0300
@@ -56,7 +56,11 @@
5656 TEST_ASSERT_TRUE(absolutePath == CT_NULL);
5757 #elif defined (CT_OS_WINDOWS)
5858 // Windows function return current directory in such case. We test here compilability, so don't care
59- TEST_ASSERT_TRUE(absolutePath != CT_NULL);
59+# if defined (CT_COMPL_BCC)
60+ TEST_ASSERT_TRUE(absolutePath == CT_NULL);
61+# else
62+ TEST_ASSERT_TRUE(absolutePath != CT_NULL);
63+# endif
6064 #endif
6165
6266 createDirStatus = createDir(CT_NULL, true);
Show on old repository browser