selftest: Add share to test "delete readonly" option
authorChristof Schmitt <cs@samba.org>
Fri, 2 Nov 2018 19:03:51 +0000 (12:03 -0700)
committerChristof Schmitt <cs@samba.org>
Sat, 3 Nov 2018 02:01:25 +0000 (03:01 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13673

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/target/Samba3.pm

index f8fda35366b719dc87ed2ada8ce965a72f6ed10b..916651146613dd9c2503b9c8c2405b3c9cc32aa8 100755 (executable)
@@ -2256,6 +2256,10 @@ sub provision($$$$$$$$$)
        vfs objects = delay_inject
        delay_inject:pread_send = 2000
        delay_inject:pwrite_send = 2000
+
+[delete_readonly]
+       path = $prefix_abs/share
+       delete readonly = yes
        ";
        close(CONF);