correct a mistyping for testdisplay
authorHai Lan <hai.lan@intel.com>
Sat, 12 Feb 2011 04:25:36 +0000 (23:25 -0500)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 11 Feb 2011 15:35:05 +0000 (15:35 +0000)
For testing all mode, the sleep time should be sleep_between_modes

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tests/testdisplay.c

index 6f3f5ed..8f46d2f 100644 (file)
@@ -606,7 +606,7 @@ set_mode(struct connector *c)
                }
 
                if (sleep_between_modes && test_all_modes)
-                       sleep(5);
+                       sleep(sleep_between_modes);
        }
 
        drmModeFreeEncoder(c->encoder);