Browse Source

fl_wrapper: fix fl_wrapper_test to pass required arg0

Signed-off-by: Alejandro Mery <amery@geeks.cl>
user/amery/stage
Alejandro Mery 4 years ago
parent
commit
fcffa79ed2
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      src/tools-source/fl_wrapper/fl_wrapper_test.c

+ 5
- 4
src/tools-source/fl_wrapper/fl_wrapper_test.c

@ -20,14 +20,15 @@
int main(int argc, char ** argv, char ** env) {
/* Test various exec calls() */
execl( "./fltest_execl", NULL);
execlp("./fltest_execlp", NULL);
execle("./fltest_execle", NULL, env);
execl( "./fltest_execl", "./fltest_execl", NULL);
execlp("./fltest_execlp", "./fltest_execlp", NULL);
execle("./fltest_execle", "./fltest_execle", NULL, env);
execv( "./fltest_execv", argv);
execvp("./fltest_execvp", argv);
execve("./fltest_execve", argv, env);
/* Test PATH evaluation */
execlp("ls", "ls", NULL);
}
(void)argc;
}

Loading…
Cancel
Save