]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: Add share for error injection testing
authorChristof Schmitt <cs@samba.org>
Wed, 13 Dec 2017 18:34:05 +0000 (11:34 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 2 Jan 2018 09:01:10 +0000 (10:01 +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>
(cherry picked from commit 8b6402f3e5ff98c2701e626e47246b2400f76e5f)

selftest/target/Samba3.pm

index dbfad1ccab4efccb464c1f640c6de0ab6b0a30dd..77716e9481c9c057951e9e3cc14742d881b3a847 100755 (executable)
@@ -2010,6 +2010,10 @@ sub provision($$$$$$$$)
        copy = tmp
        kernel oplocks = yes
        vfs objects = streams_xattr xattr_tdb
+[error_inject]
+       copy = tmp
+       vfs objects = error_inject
+       include = $libdir/error_inject.conf
        ";
        close(CONF);