mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 14:13:09 +00:00
ldso: be quiet by default
This commit is contained in:
parent
773b0ecc3d
commit
bab1663ea2
@ -31,12 +31,8 @@ run_genode_until "child exited with exit value 0.*\n" 10
|
||||
# pay only attention to the output of init and its children
|
||||
grep_output {^\[init }
|
||||
|
||||
unify_output {environ: [a-f0-9]+} "environ: <unified>"
|
||||
|
||||
compare_output_to {
|
||||
[init -> test-ldso] Starting ldso ...
|
||||
[init -> test-ldso] Starting application ... environ: <unified>
|
||||
[init -> test-ldso]
|
||||
[init -> test-ldso]
|
||||
[init -> test-ldso] Static Geekings!
|
||||
[init -> test-ldso] ================
|
||||
[init -> test-ldso] Test read
|
||||
|
@ -87,7 +87,9 @@ int main(int argc, char **argv)
|
||||
/* build dummy stack */
|
||||
void *sp = setup_stack(binary, (long)fd);
|
||||
|
||||
/* DEBUGGING
|
||||
printf("Starting ldso ...\n");
|
||||
*/
|
||||
|
||||
/* this is usually '_start' */
|
||||
func_ptr_type main_func = _rtld(sp, &exit_proc, &objp);
|
||||
@ -96,10 +98,11 @@ int main(int argc, char **argv)
|
||||
char **p;
|
||||
for(p = environ; *p; p++)
|
||||
printf("env: %s\n", *p);
|
||||
*/
|
||||
/* start loaded application */
|
||||
|
||||
printf("Starting application ... environ: %p\n", lx_environ);
|
||||
*/
|
||||
|
||||
/* start loaded application */
|
||||
call_main(main_func);
|
||||
|
||||
exit_proc();
|
||||
|
Loading…
Reference in New Issue
Block a user