lava-expect/openembedded.inc: fix shutdown sequence

LAVA interactive actions commands, in this case 'shutdown -r', execute
as soon as defined, before waiting for the prompt
'root@genericarmv8:~#', so this change first waits for the prompt,
then execute the command.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org>
Change-Id: I203d54fe89b8ac7055e7d18c9a17669d8b85da20
1 file changed