From: Ralph Boehme Date: Wed, 15 Nov 2017 17:39:53 +0000 (+0100) Subject: selftest: run AppleDouble sidecar-file conversion test runs against all fruit shares X-Git-Tag: talloc-2.1.11~344 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e28dd6a0ce753a880b2512eb62661411b20f763b;p=thirdparty%2Fsamba.git selftest: run AppleDouble sidecar-file conversion test runs against all fruit shares This needs for work in all possible fruit configs, so test it. This currently fails with stream_depot, as we don't propely copy over the resourcefork data from the ._ file to the stream. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13155 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/selftest/knownfail.d/samba3.vfs.fruit b/selftest/knownfail.d/samba3.vfs.fruit new file mode 100644 index 00000000000..8df25bccb79 --- /dev/null +++ b/selftest/knownfail.d/samba3.vfs.fruit @@ -0,0 +1 @@ +^samba3.vfs.fruit streams_depot.OS X AppleDouble file conversion\(nt4_dc\) diff --git a/source4/torture/vfs/fruit.c b/source4/torture/vfs/fruit.c index f5b4f654f7b..3c3810ceaa6 100644 --- a/source4/torture/vfs/fruit.c +++ b/source4/torture/vfs/fruit.c @@ -4413,6 +4413,7 @@ struct torture_suite *torture_vfs_fruit(TALLOC_CTX *ctx) torture_suite_add_2ns_smb2_test(suite, "invalid AFP_AfpInfo", test_invalid_afpinfo); torture_suite_add_1smb2_test(suite, "creating rsrc with read-only access", test_rfork_create_ro); torture_suite_add_1smb2_test(suite, "copy-chunk streams", test_copy_chunk_streams); + torture_suite_add_1smb2_test(suite, "OS X AppleDouble file conversion", test_adouble_conversion); return suite; } @@ -4491,7 +4492,6 @@ struct torture_suite *torture_vfs_fruit_netatalk(TALLOC_CTX *ctx) suite->description = talloc_strdup(suite, "vfs_fruit tests for Netatalk interop that require fruit:metadata=netatalk"); torture_suite_add_1smb2_test(suite, "read netatalk metadata", test_read_netatalk_metadata); - torture_suite_add_1smb2_test(suite, "OS X AppleDouble file conversion", test_adouble_conversion); torture_suite_add_1smb2_test(suite, "stream names with locally created xattr", test_stream_names_local); return suite;