From 971e8c1891920d2f99e66a421fb3a0617410836b Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 7 Oct 2022 13:17:26 +0200 Subject: [PATCH] Prevent early end maker OU] in sort test --- test/emu/ovni/sort.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/emu/ovni/sort.c b/test/emu/ovni/sort.c index bc1f463..2a94515 100644 --- a/test/emu/ovni/sort.c +++ b/test/emu/ovni/sort.c @@ -62,6 +62,10 @@ main(void) emit_jumbo(buf, BUFSIZE, t); + /* Sleep a bit to prevent early OU] */ + while ((int64_t) ovni_clock_now() < t) + usleep(10); + emit("OU]", ovni_clock_now()); instr_end();