selftest: run AppleDouble sidecar-file conversion test runs against all fruit shares
authorRalph Boehme <slow@samba.org>
Wed, 15 Nov 2017 17:39:53 +0000 (18:39 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 29 Nov 2017 03:35:24 +0000 (04:35 +0100)
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 <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail.d/samba3.vfs.fruit [new file with mode: 0644]
source4/torture/vfs/fruit.c

diff --git a/selftest/knownfail.d/samba3.vfs.fruit b/selftest/knownfail.d/samba3.vfs.fruit
new file mode 100644 (file)
index 0000000..8df25bc
--- /dev/null
@@ -0,0 +1 @@
+^samba3.vfs.fruit streams_depot.OS X AppleDouble file conversion\(nt4_dc\)
index f5b4f654f7b1ebfd75b4064fe5bbbb2f2425a9fa..3c3810ceaa6dfa2f9a683cebb3ee99c905cf4ab5 100644 (file)
@@ -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;