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:
parent
7d8347e890
commit
5f2565f0a8
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user