From f651493a6bcea77b0c8ffe2e4f986bd167d6cb92 Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Tue, 15 Mar 2016 23:13:43 +0200 Subject: [PATCH] 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 --- tests/drv_module_reload_basic | 6 ++---- 1 file 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 $?