commit | 45ec001d46fa4a0f68e9d6315a5677404897be43 | [log] [tgz] |
---|---|---|
author | Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> | Mon Feb 02 18:11:21 2015 +0300 |
committer | Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> | Wed Feb 04 11:04:42 2015 +0300 |
tree | fd7ebeeda5f058ada0d1be43f627bf0d76206e8c | |
parent | 571db51311b5cf2f454a6d6132d9d91df92d204e [diff] |
tst_module: introduce a timeout to unload modules It may happen, that the first execution of 'rmmod module_name' may fail for some reason (like the module is in use for some short time). Changed tst_module_unload() to execute 'rmmod module_name' multiple times with the total number limited by a timeout. Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>