#!/bin/sh

set -e

export PCMK_schema_directory=/usr/share/pacemaker

systemctl stop pacemaker

/usr/share/pacemaker/tests/cts-regression --verbose attrd cli exec fencing 2>&1

# we run the scheduler test separately because we need to pass the crm_simulate
# binary path to it
/usr/share/pacemaker/tests/cts-scheduler -b /usr/sbin/crm_simulate --verbose 2>&1
