From: Ralph Boehme Date: Thu, 27 Jun 2019 07:38:57 +0000 (+0200) Subject: selftest: add a test that itime is not set when setting DOS attrs X-Git-Tag: ldb-2.0.5~95 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e65c283120e3e627f0d8570601263f904529996;p=thirdparty%2Fsamba.git selftest: add a test that itime is not set when setting DOS attrs Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Mon Jul 1 23:21:07 UTC 2019 on sn-devel-184 --- diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 59ea6f38e18..32de94cf21f 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -1215,6 +1215,11 @@ sub provision($$$$$$$$$$) fruit:locking = netatalk fruit:encoding = native +[xattr] + path = $ctx->{share} + # This can be used for testing real fs xattr stuff + vfs objects = streams_xattr acl_xattr + $extra_smbconf_shares "; diff --git a/source3/script/tests/test_itime.sh b/source3/script/tests/test_itime.sh new file mode 100755 index 00000000000..c457da9906b --- /dev/null +++ b/source3/script/tests/test_itime.sh @@ -0,0 +1,39 @@ +#!/bin/sh + +# this tests immutable birthtime + +if [ $# != 6 ]; then +cat <