mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
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>
This commit is contained in:
parent
431f6c4918
commit
f651493a6b
@ -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 $?
|
||||
|
Loading…
x
Reference in New Issue
Block a user