mirror of
https://github.com/zoriya/ash.git
synced 2026-06-07 20:20:40 +00:00
Disabling a test that won't ever work on github
This commit is contained in:
+11
-10
@@ -13,7 +13,7 @@ void eval(char *cmd, char **argv, env_t* env);
|
||||
|
||||
extern char **environ;
|
||||
|
||||
Test(execute, get_path)
|
||||
Test(execute, get_path, .init = cr_redirect_stdout)
|
||||
{
|
||||
env_t *env = malloc(sizeof(env_t));
|
||||
env->vars = NULL;
|
||||
@@ -24,16 +24,17 @@ Test(execute, get_path)
|
||||
cr_assert_fail();
|
||||
}
|
||||
|
||||
Test(execute, absolute)
|
||||
{
|
||||
env_t *env = malloc(sizeof(env_t));
|
||||
env->vars = NULL;
|
||||
env->env = environ;
|
||||
char **argv = get_argv("/usr/bin/ls");
|
||||
// Disabled since github does not have ls in the /usr/bin/ls path.
|
||||
// Test(execute, absolute, .init = cr_redirect_stdout)
|
||||
// {
|
||||
// env_t *env = malloc(sizeof(env_t));
|
||||
// env->vars = NULL;
|
||||
// env->env = environ;
|
||||
// char **argv = get_argv("/usr/bin/ls");
|
||||
|
||||
eval(argv[0], argv, env);
|
||||
cr_assert_fail();
|
||||
}
|
||||
// eval(argv[0], argv, env);
|
||||
// cr_assert_fail();
|
||||
// }
|
||||
|
||||
Test(execute, notfound, .init = cr_redirect_stderr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user