diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-10 12:10:13 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-10 12:10:13 +0000 |
commit | 000a0972c21ca1a17609e638907607470ee21751 (patch) | |
tree | 4b23a0508084f5c804d0879e5bec0f8a931aacc5 /tests/gem_mmap.c | |
parent | 537703fd4805e9cd352965fce642670986822d22 (diff) |
tests: Update for ENOENT returns from unknown handles
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_mmap.c')
-rw-r--r-- | tests/gem_mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_mmap.c b/tests/gem_mmap.c index d24005ba..2239789f 100644 --- a/tests/gem_mmap.c +++ b/tests/gem_mmap.c @@ -93,7 +93,7 @@ int main(int argc, char **argv) mmap.size = 4096; printf("Testing mmaping of bad object.\n"); ret = ioctl(fd, DRM_IOCTL_I915_GEM_MMAP, &mmap); - assert(ret == -1 && errno == EBADF); + assert(ret == -1 && errno == ENOENT); memset(&create, 0, sizeof(create)); create.size = OBJECT_SIZE; |