diff options
author | Andreas Schneider <asn@samba.org> | 2022-12-03 18:06:43 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2022-12-05 08:22:29 +0000 |
commit | 5f2565f0a8e57d7afb3cc84157c9ed9c55e66e01 (patch) | |
tree | 7bb845a4eedfd22c105786a7b417c8626c0cbd4f /testprogs | |
parent | 7d8347e8900ae01fc7073a8b9647c37959dfbe7c (diff) | |
download | samba-5f2565f0a8e57d7afb3cc84157c9ed9c55e66e01.tar.gz |
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
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/blackbox/test_special_group.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testprogs/blackbox/test_special_group.sh b/testprogs/blackbox/test_special_group.sh index 00b5dde5670..e2a6aae16db 100755 --- a/testprogs/blackbox/test_special_group.sh +++ b/testprogs/blackbox/test_special_group.sh @@ -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() { |