diff --git a/tests/kola/disks/device-link b/tests/kola/disks/device-link new file mode 100755 index 0000000000..9477200696 --- /dev/null +++ b/tests/kola/disks/device-link @@ -0,0 +1,16 @@ +#!/bin/bash +## kola: +## platforms: qemu +## description: Verify no /dev/disk/by-id/*google* device links are found on non GCP. + +# See https://issues.redhat.com/browse/OCPBUGS-13754 + +set -xeuo pipefail + +. $KOLA_EXT_DATA/commonlib.sh + +links=$(find /dev/disk/by-id/ -iname "*google*") +if [[ -n "${links:-}" ]]; then + fatal "Error: should not find /dev/disk/by-id/*google* device links on non GCP" +fi +ok "No /dev/disk/by-id/*google* device links are found on non GCP"