drv_module_reload: Don't declare success when failing
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 10 Jul 2014 13:03:37 +0000 (14:03 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Thu, 10 Jul 2014 17:05:41 +0000 (18:05 +0100)
commit82e3d3379b7204bd81033c96b6279b537186ed85
treef3a44df195cfa499cbd5b0c975b559cdd9e6c02b
parente16d4a2d68d163da81397ff7f1e00d063f0d700c
drv_module_reload: Don't declare success when failing

We weren't returning straight away when failing to unload the driver, so
the test happilly executed gem_suspend and printed ""module successfully
loaded again".

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
tests/drv_module_reload