1
0
mirror of https://github.com/coreos/fedora-coreos-config.git synced 2026-02-05 09:45:30 +01:00
Files
fedora-coreos-config/tests/kola/kdump/service

14 lines
367 B
Bash
Executable File

#!/bin/bash
## kola:
## exclusive: false
# Make sure that kdump didn't start (it's either disabled, or enabled but
# conditional on crashkernel= karg, which we don't bake).
set -xeuo pipefail
. $KOLA_EXT_DATA/commonlib.sh
if ! systemctl show -p ActiveState kdump.service | grep -q ActiveState=inactive; then
fatal "Unit kdump.service shouldn't be active"
fi