aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt2007-07-19 08:02:20 -0500
committerEric Anholt2007-07-19 08:02:20 -0500
commit50cb405f93da70054ede29e0c365f06352dc8fe5 (patch)
tree386ea263e4ab2e4066be6b03dfffd7e77f3a1747
parentd7cf298e540c631795868c52b044c7249bf45902 (diff)
downloadexternal-libdrm-50cb405f93da70054ede29e0c365f06352dc8fe5.tar.gz
external-libdrm-50cb405f93da70054ede29e0c365f06352dc8fe5.tar.xz
external-libdrm-50cb405f93da70054ede29e0c365f06352dc8fe5.zip
Fix the getclient test (Need this feature for future tests).
-rw-r--r--bsd-core/drm_ioctl.c4
-rw-r--r--tests/Makefile.am2
2 files changed, 1 insertions, 5 deletions
diff --git a/bsd-core/drm_ioctl.c b/bsd-core/drm_ioctl.c
index e22faa83..b5b5cf58 100644
--- a/bsd-core/drm_ioctl.c
+++ b/bsd-core/drm_ioctl.c
@@ -213,9 +213,7 @@ int drm_getclient(DRM_IOCTL_ARGS)
213 } 213 }
214 DRM_UNLOCK(); 214 DRM_UNLOCK();
215 215
216 DRM_COPY_TO_USER_IOCTL( (drm_client_t *)data, client, sizeof(client) ); 216 return EINVAL;
217
218 return 0;
219} 217}
220 218
221int drm_getstats(DRM_IOCTL_ARGS) 219int drm_getstats(DRM_IOCTL_ARGS)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 815dae57..949e2b00 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -18,7 +18,5 @@ TESTS = openclose \
18 getversion \ 18 getversion \
19 getclient 19 getclient
20 20
21XFAIL_TESTS = getclient
22
23EXTRA_PROGRAMS = $(TESTS) 21EXTRA_PROGRAMS = $(TESTS)
24CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LTLIBRARIES) \ No newline at end of file 22CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LTLIBRARIES) \ No newline at end of file