mirror of
https://github.com/zoriya/ash.git
synced 2026-05-27 08:33:04 +00:00
Making tests works
This commit is contained in:
+4
-1
@@ -1,4 +1,7 @@
|
||||
**/*.o
|
||||
**/*.a
|
||||
.vscode/
|
||||
42sh
|
||||
42sh
|
||||
**/*.gcda
|
||||
**/*.gcno
|
||||
unit_tests
|
||||
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user