Re: [PATCH igt v2] igt/vgem_basic: Load and unload the module first

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 25, 2017 at 07:26:39PM +0100, Chris Wilson wrote:
> To ensure the module exists, first load it. Then when we try to unload
> the module (to check that our modprobe interface works), we will not get
> spurious failures due to -ENOENT (in this case meaning the module did
> not exist):
> 
> (vgem_basic:18361) igt-core-DEBUG: Starting subtest: unload
> (vgem_basic:18361) igt-kmod-DEBUG: Could not remove module vgem (No such file or directory)
> Test requirement not met in function test_unload, file vgem_basic.c:331:
> Test requirement: module_unload() == 0
> Last errno: 2, No such file or directory
> 
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>


Reviewed-by: Petri Latvala <petri.latvala@xxxxxxxxx>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux