selftest: Add share for error injection testing
authorChristof Schmitt <cs@samba.org>
Wed, 13 Dec 2017 18:34:05 +0000 (11:34 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 15 Dec 2017 20:43:19 +0000 (21:43 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13189

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

index afbc795fead81172e211234dc11e263881fa9073..229435dda74bf5ff37108d1096c408036aad52ac 100755 (executable)
@@ -2150,6 +2150,10 @@ sub provision($$$$$$$$$)
 [compound_find]
        copy = tmp
        smbd:find async delay usec = 10000
+[error_inject]
+       copy = tmp
+       vfs objects = error_inject
+       include = $libdir/error_inject.conf
        ";
        close(CONF);