]> xenbits.xensource.com Git - rumpuser-xen.git/commitdiff
Minor improvement to hello demo
authorMartin Lucina <martin@lucina.net>
Fri, 7 Nov 2014 17:17:00 +0000 (18:17 +0100)
committerMartin Lucina <martin@lucina.net>
Mon, 10 Nov 2014 14:05:41 +0000 (15:05 +0100)
Sleep in the demo to prove at least scheduling is working after all the
renaming changes.

Signed-off-by: Martin Lucina <martin@lucina.net>
tests/hello/hello.c

index ed04dd22a067a41c6481435d60d3ae2cf5faf34a..4859dbbc9858ebf5e46baf7603c820703923e148 100644 (file)
@@ -3,5 +3,8 @@
 int main (int argc, char *argv[])
 {
     printf ("Hello, world!\n");
+    printf ("Sleeping 5s...\n");
+    sleep (5);
+    printf ("Goodbye, world!\n");
     return 0;
 }