diff --git a/test-case/multiple-pipeline.sh b/test-case/multiple-pipeline.sh index 5721f30b..b242ceb7 100755 --- a/test-case/multiple-pipeline.sh +++ b/test-case/multiple-pipeline.sh @@ -47,7 +47,7 @@ OPT_NAME['f']='first' OPT_DESC['f']='Fill either playback (p) or capture (c) first or any (a) for all pipelines' OPT_HAS_ARG['f']=1 OPT_VAL['f']='p' -OPT_NAME['w']='wait' OPT_DESC['w']='perpare wait time by sleep' +OPT_NAME['w']='wait' OPT_DESC['w']='duration of one (sub)test iteration' OPT_HAS_ARG['w']=1 OPT_VAL['w']=5 OPT_NAME['r']='random' OPT_DESC['r']='random load pipeline' @@ -163,13 +163,10 @@ do die "Wrong -f argument $f_arg, see -h" esac - dlogi "sleep ${OPT_VAL['w']}s for sound device wakeup" - sleep ${OPT_VAL['w']} - dlogi "checking pipeline status" ps_checks - dlogi "preparing sleep ${OPT_VAL['w']}" + dlogi "Letting playback/capture run for ${OPT_VAL['w']}s" sleep ${OPT_VAL['w']} # check processes again @@ -179,6 +176,7 @@ do dlogc 'pkill -9 aplay arecord' pkill -9 arecord || true pkill -9 aplay || true + sleep 1 # try not to pollute the next iteration # check kernel log for each iteration to catch issues sof-kernel-log-check.sh "$KERNEL_CHECKPOINT" || die "Caught error in kernel log"