diff options
author | Imre Deak <imre.deak@intel.com> | 2016-03-15 23:13:43 +0200 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2016-03-15 23:21:23 +0200 |
commit | f651493a6bcea77b0c8ffe2e4f986bd167d6cb92 (patch) | |
tree | 03f27e5a14ffcb26e3018d85c6708a20a6643909 | |
parent | 431f6c49189470763c34f82cc4f688a967310f52 (diff) |
igt/drv_module_reload_basic: Pass correct inject_load_failure module option
The latest version of the inject_load_failure module option expects the
number of the checkpoint where the failure should be injected, so adjust
the test accordingly.
Signed-off-by: Imre Deak <imre.deak@intel.com>
-rwxr-xr-x | tests/drv_module_reload_basic | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/drv_module_reload_basic b/tests/drv_module_reload_basic index 42c815cc..fc508d72 100755 --- a/tests/drv_module_reload_basic +++ b/tests/drv_module_reload_basic @@ -72,10 +72,8 @@ reload || exit $? finish_load || exit $? # Repeat the module reload trying to to generate faults -fault=1 -for i in $(seq 0 4); do - reload inject_load_failure=$fault - fault=$(($fault * 2)) +for i in $(seq 1 4); do + reload inject_load_failure=$i done reload || exit $? |