summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2009-02-03 14:02:50 -0500
committerKristian Høgsberg <krh@redhat.com>2009-02-03 14:03:09 -0500
commit2c113a1b159f57ab94b54316ece49c677cfe04ce (patch)
treebe51ed8c53b625dea52f6846689d57e6ef4b11fb
parent669fde3472ae71c55cc7526e3b3bd6fe00d6a5a5 (diff)
modetest: Don't sleep when just dumping state, wait for key for modeset.
-rw-r--r--tests/modetest/modetest.c4
1 files changed, 1 insertions, 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;