#!/bin/bash
#
# Copyright (C) 2000-2026 Kern Sibbald
# License: BSD 2-Clause; see file LICENSE-FOSS
#
# Copyright (c) 2018 by Inteos sp. z o.o.
# All rights reserved. IP transfered to Bacula Systems according to agreement.
#
# This is a BSOCKCORE unit test
#
NC="/bin/netcat"
if [ -f $NC ]
then
. scripts/regress-utils.sh
do_regress_unittest "bsockcore_test" "src/lib"
else
	echo "$0 requires $NC to complete"
fi
exit 1
