From 2c113a1b159f57ab94b54316ece49c677cfe04ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 3 Feb 2009 14:02:50 -0500 Subject: modetest: Don't sleep when just dumping state, wait for key for modeset. --- tests/modetest/modetest.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 7711e32b..c38908b0 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -486,11 +486,9 @@ int main(int argc, char **argv) if (count > 0) { set_mode(con_args, count); - sleep(3); + getchar(); } - sleep(3); - drmModeFreeResources(resources); return 0; -- cgit v1.2.3