Skip to content

Commit

Permalink
Merge pull request openshift#424 from jlebon/pr/kdump-disabled
Browse files Browse the repository at this point in the history
tests/kola/misc-ro: backport kdump.service test
  • Loading branch information
openshift-merge-robot authored Oct 28, 2020
2 parents d653eed + cf3948d commit e392f39
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/kola/luks/ignition/config.ign
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ignition": {
"version": "3.2.0-experimental"
"version": "3.2.0"
},
"storage": {
"luks": [
Expand Down
7 changes: 7 additions & 0 deletions tests/kola/misc-ro/misc-ro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ if [ "$(systemctl is-enabled [email protected])" = enabled ]; then
fi
echo "ok afterburn-sshkeys@ is disabled"

# Make sure that kdump didn't start (it's either disabled, or enabled but
# conditional on crashkernel= karg, which we don't bake).
if ! systemctl show -p ActiveState kdump.service | grep -q ActiveState=inactive; then
fatal "Unit kdump.service shouldn't be active"
fi
echo "ok kdump.service not active"

test -d /etc/yum.repos.d
echo "ok have /etc/yum.repos.d"

Expand Down

0 comments on commit e392f39

Please sign in to comment.