vfs_error_inject: Add new module
authorChristof Schmitt <cs@samba.org>
Fri, 8 Dec 2017 22:29:07 +0000 (15:29 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 15 Dec 2017 20:43:19 +0000 (21:43 +0100)
commit24623d53256c2424563709dedc19af1a106ccc73
treebb8be010d4ad29db97f668926ff5dfe9e80dd698
parentb468245c325bd9078b5a501972aec72533dd0d39
vfs_error_inject: Add new module

This module allow injecting errors in vfs calls. It only implements one
case (return ESTALE from chdir), but the idea is to extend this to more
vfs functions and more errors when needed.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13189

Signed-off-by: Christof Schmitt <cs@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_error_inject.c [new file with mode: 0644]
source3/modules/wscript_build
source3/wscript