1.1 --- a/tests/dstest_exec.cc Fri Feb 17 18:39:43 2023 +0100
1.2 +++ b/tests/dstest_exec.cc Fri Feb 17 18:41:18 2023 +0100
1.3 @@ -25,11 +25,25 @@
1.4
1.5 #include <exec/process_creator.h>
1.6 #include <systypes/fcntl.h>
1.7 +#include <systypes/format.h>
1.8
1.9 #include <stdio.h>
1.10
1.11
1.12
1.13 +class local_Notifier : public Notifier
1.14 +{
1.15 +public:
1.16 + long notify(notify_flags_t flags)
1.17 + {
1.18 + printf("Notified with flags: %" pFMTnotify_flags "x\n", flags);
1.19 +
1.20 + return L4_EOK;
1.21 + }
1.22 +};
1.23 +
1.24 +
1.25 +
1.26 int main(int argc, char *argv[])
1.27 {
1.28 long err;
1.29 @@ -52,6 +66,9 @@
1.30 return 1;
1.31 }
1.32
1.33 + local_Notifier notifier;
1.34 +
1.35 + creator.set_notifier(¬ifier);
1.36 err = creator.start(program_file, argc - 2, (const char **) argv + 2);
1.37
1.38 if (err)