selftest: enable alternate streams for fs_specific share
authorDavid Disseldorp <ddiss@samba.org>
Wed, 17 May 2017 10:54:15 +0000 (12:54 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 17 May 2017 21:02:09 +0000 (23:02 +0200)
This ensures that the new "smb2.ioctl.copy-chunk streams" test passes
when run under selftest atop Btrfs.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/target/Samba3.pm

index 6d5758403746987276b3febdfbaa231acd98bfc3..0914affecbf32c46a6e6a3a748819f10a0179bfc 100755 (executable)
@@ -38,7 +38,7 @@ sub get_fs_specific_conf($$)
        my $stat_out = `stat --file-system $path` or return "";
 
        if ($stat_out =~ m/Type:\s+btrfs/) {
-               $mods .= "btrfs ";
+               $mods .= "streams_xattr btrfs";
        }
 
        if ($mods) {