Making tests works

This commit is contained in:
Anonymus Raccoon
2020-04-27 11:50:10 +02:00
parent da00dbbbe6
commit c4cd426799
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -1,4 +1,7 @@
**/*.o
**/*.a
.vscode/
42sh
42sh
**/*.gcda
**/*.gcno
unit_tests
+1 -1
View File
@@ -26,7 +26,7 @@ Test(cd, home)
env->env[i] = strdup(environ[i]);
builtin_cd(args, env);
cr_assert_str_eq(getcwd(NULL, 0), my_getenv("HOME"));
cr_assert_str_eq(getcwd(NULL, 0), getenv("HOME"));
}
Test(cd, absolute)