add unit test for openocd boot action method

This commit adds a unit test to verify the new OpenOCD boot action
method.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
15 jobs for openocd in 11 minutes and 57 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #49276
amd64
dispatcher-debian-10

00:03:01

passed #49274
amd64
dispatcher-debian-9

00:03:24

passed #49277
amd64
server-debian-10

00:02:07

passed #49275
amd64
server-debian-9

00:02:26

 
  Analyze
passed #49279
amd64
black

00:01:10

passed #49281
amd64
code_quality

00:00:43

passed #49280
amd64
codestyle

00:01:01

passed #49283
amd64
job-schema

00:01:37

passed #49282
amd64
pylint

00:02:57

passed #49278
amd64-dind allowed to fail
sast

00:02:38

 
  Build
passed #49286
amd64
amd64/pkg-debian-10

00:01:49

passed #49285
amd64
amd64/pkg-debian-9

00:02:15

passed #49284
amd64
doc

00:01:44

 
  Docker
passed #49287
amd64-dind
amd64/lava-dispatcher

00:00:53

passed #49288
amd64-dind
amd64/lava-server

00:02:07