1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

testprogs: Do not run tests if undump.sh is not available

We don't include source4/selftest/provisions/ in source tarballs!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Dec  5 08:22:29 UTC 2022 on sn-devel-184
This commit is contained in:
Andreas Schneider 2022-12-03 18:06:43 +01:00 committed by Volker Lendecke
parent 7d8347e890
commit 5f2565f0a8

View File

@ -24,6 +24,13 @@ if [ -x "$BINDIR/tdbrestore" ]; then
fi
samba_undump="$SRCDIR_ABS/source4/selftest/provisions/undump.sh"
if [ ! -x "${samba_undump}" ]; then
subunit_start_test "special group"
subunit_skip_test "special group" <<EOF
Skipping tests - undump.sh is not available in release tarballs
EOF
exit 0
fi
cleanup_output_directories()
{