#!/bin/sh
set -e

echo "debian/rules override_dh_auto_configure "
debian/rules override_dh_auto_configure

# Suppress gcc warnings (autopkgtest treats them as failures)
make rsync tls getgroups getfsdev testrun trimslash t_unsafe t_chmod_secure \
     t_rename_secure t_symlink_secure t_secure_relpath t_acl t_hashtable_overflow \
     t_clean_fname t_owner_walk_fallback t_safe_arg t_socket_fallback wildtest \
     simdtest 2>/dev/null

# Run tests
# installcheck "does *not* depend on building or installing: you can
# use it to check a version installed from a binary"
make installcheck
