Blame tests/p_libvirt/libvirt_virsh_test.sh

Athmane Madjoudj 765ebf
#!/bin/sh
Athmane Madjoudj 765ebf
# Author: Athmane Madjoudj <athmanem@gmail.com>
dbfc54
if (t_GetArch | grep -qE 'aarch64')
dbfc54
  then
dbfc54
  echo "Package not included with AArch64, skipping"
dbfc54
  exit 0
dbfc54
fi
Athmane Madjoudj 765ebf
Karanbir Singh 106bcf
t_Log "Running $0 - libvirt: Virsh can talk to local hypervisor."
Athmane Madjoudj 765ebf
Athmane Madjoudj 765ebf
virsh -c test:///default list  > /dev/null
Athmane Madjoudj 765ebf
Athmane Madjoudj 765ebf
t_CheckExitStatus $?