summaryrefslogtreecommitdiff
path: root/tests/getversion.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2009-04-06 17:18:17 -0400
committerKristian Høgsberg <krh@redhat.com>2009-04-06 17:18:17 -0400
commit8a5c4d567fafffbda57cbe5e4ed8c419193cada5 (patch)
tree78a777083836f7b734048f9b0ab732637a71d17f /tests/getversion.c
parente9d6116e5bd30639d6333ef95462fe300f47ccd5 (diff)
XFAIL auth and lock test cases
They're writing to the read end of a pipe and failing.
Diffstat (limited to 'tests/getversion.c')
-rw-r--r--tests/getversion.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/getversion.c b/tests/getversion.c
index 3de90de6..711d3765 100644
--- a/tests/getversion.c
+++ b/tests/getversion.c
@@ -40,7 +40,8 @@ int main(int argc, char **argv)
assert(strlen(v->name) != 0);
assert(strlen(v->date) != 0);
assert(strlen(v->desc) != 0);
- assert(v->version_major >= 1);
+ if (strcmp(v->name, "i915") == 0)
+ assert(v->version_major >= 1);
drmFree(v);
close(fd);
return 0;