4a052314f4
after the changes around live-iso and qcow2 test cases the asserts
used have also changed. This commit utilizes the existing test lib.
Cherry-picked from d67745d755
Related: rhbz#1769525
23 lines
509 B
Bash
Executable File
23 lines
509 B
Bash
Executable File
#!/bin/bash
|
|
# Note: execute this file from the project root directory
|
|
|
|
#####
|
|
#
|
|
# Test the liveimg installed tar disk image
|
|
#
|
|
#####
|
|
|
|
set -e
|
|
|
|
. /usr/share/beakerlib/beakerlib.sh
|
|
. $(dirname $0)/lib/lib.sh
|
|
|
|
rlJournalStart
|
|
rlPhaseStartTest "Verify VM instance"
|
|
# Just the fact that this is running means the image can boot and ssh is working
|
|
CHECK_CMDLINE=0 verify_image root localhost "-p 22"
|
|
rlAssertExists "/root/.ssh/authorized_keys"
|
|
rlPhaseEnd
|
|
rlJournalEnd
|
|
rlJournalPrintText
|