Initialize private keys in test suite

Make sure all of the private keys used by the test code are
initialized before being used.

Signed-off-by: Keith Packard <keithp@keithp.com>
Tested-by: Robert Hooker <sarvatt@ubuntu.com>
This commit is contained in:
Keith Packard
2010-06-06 20:45:53 -07:00
parent f03be727d6
commit bc26665661
7 changed files with 31 additions and 4 deletions

View File

@@ -30,6 +30,7 @@
#include "inputstr.h"
#include "scrnintstr.h"
#include "exevents.h"
#include "xkbsrv.h"
#include "xserver-properties.h"
#include <glib.h>
@@ -59,6 +60,9 @@ static void xtest_init_devices(void)
dixResetPrivates();
InitAtoms();
XkbInitPrivates();
XTestInitPrivates();
/* this also inits the xtest devices */
InitCoreDevices();