Message ID | 20210320183829.1318-24-dwagner@suse.de |
---|---|
State | New |
Headers | show |
Series | JSON cleanups and more tests updated | expand |
On Sat, 20 Mar 2021, Daniel Wagner wrote: > Use rt_test_start() to record a timestamp when the test starts. > > Signed-off-by: Daniel Wagner <dwagner@suse.de> > --- > src/sigwaittest/sigwaittest.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/sigwaittest/sigwaittest.c b/src/sigwaittest/sigwaittest.c > index 142419f9e315..6e8bc7b50d5f 100644 > --- a/src/sigwaittest/sigwaittest.c > +++ b/src/sigwaittest/sigwaittest.c > @@ -652,6 +652,7 @@ int main(int argc, char *argv[]) > &sender[i]); > } > > + rt_test_start(); > while (!mustshutdown) { > for (i = 0; i < num_threads; i++) > mustshutdown |= receiver[i].shutdown | > -- > 2.30.2 > > Signed-off-by: John Kacur@redhat.com>
diff --git a/src/sigwaittest/sigwaittest.c b/src/sigwaittest/sigwaittest.c index 142419f9e315..6e8bc7b50d5f 100644 --- a/src/sigwaittest/sigwaittest.c +++ b/src/sigwaittest/sigwaittest.c @@ -652,6 +652,7 @@ int main(int argc, char *argv[]) &sender[i]); } + rt_test_start(); while (!mustshutdown) { for (i = 0; i < num_threads; i++) mustshutdown |= receiver[i].shutdown |
Use rt_test_start() to record a timestamp when the test starts. Signed-off-by: Daniel Wagner <dwagner@suse.de> --- src/sigwaittest/sigwaittest.c | 1 + 1 file changed, 1 insertion(+)