From 5f2565f0a8e57d7afb3cc84157c9ed9c55e66e01 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 3 Dec 2022 18:06:43 +0100 Subject: [PATCH] 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 Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Mon Dec 5 08:22:29 UTC 2022 on sn-devel-184 --- testprogs/blackbox/test_special_group.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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" <