From: Andrew Bartlett Date: Thu, 30 May 2024 09:13:01 +0000 (+1200) Subject: script/autobuild.py: Add test for --vendor-name and --vendor-patch-revision X-Git-Tag: tdb-1.4.11~509 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=72112d4814eb3872016c1168c477531be835a1f9;p=thirdparty%2Fsamba.git script/autobuild.py: Add test for --vendor-name and --vendor-patch-revision BUG: https://bugzilla.samba.org/show_bug.cgi?id=15654 Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/script/autobuild.py b/script/autobuild.py index 05fed05aad6..c25fb94b3d5 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -887,9 +887,10 @@ tasks = { ("tevent-make", "cd lib/tevent && make"), ("tevent-install", "cd lib/tevent && make install"), - ("nondevel-configure", samba_libs_envvars + " ./configure --private-libraries='!ldb' ${PREFIX}"), + ("nondevel-configure", samba_libs_envvars + " ./configure --private-libraries='!ldb' --vendor-name=autobuild-TEST-STRING --vendor-patch-revision=5 ${PREFIX}"), ("nondevel-make", "make -j"), ("nondevel-check", "./bin/smbd -b | grep WITH_NTVFS_FILESERVER && exit 1; exit 0"), + ("nondevel-check", "./bin/smbd --version | grep -e '-autobuild-TEST-STRING-5' && exit 0; exit 1"), ("nondevel-no-libtalloc", "find ./bin | grep -v 'libtalloc-report' | grep 'libtalloc' && exit 1; exit 0"), ("nondevel-no-libtdb", "find ./bin | grep -v 'libtdb-wrap' | grep 'libtdb' && exit 1; exit 0"), ("nondevel-no-libtevent", "find ./bin | grep -v 'libtevent-util' | grep 'libtevent' && exit 1; exit 0"),