diff options
author | Ralph Boehme <slow@samba.org> | 2015-12-18 17:22:32 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2016-01-06 10:07:16 +0100 |
commit | 4d7b2ab6514b554e4345ecf7b2fd27770fb59923 (patch) | |
tree | c59a8c0408f3b37db96ad6183c026c08ad2a739b | |
parent | 6a9f21cc91965ea11a4fb90a84e583c338aa8ef6 (diff) | |
download | samba-4d7b2ab6514b554e4345ecf7b2fd27770fb59923.tar.gz |
s4:torture:vfs_fruit: skip test_adouble_conversion() without "localdir"
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11347
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 987e12b7a7518e498c47dd8dfee32aed148f8cd7)
-rw-r--r-- | source4/torture/vfs/fruit.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/torture/vfs/fruit.c b/source4/torture/vfs/fruit.c index 900870f12be..266ebc87dee 100644 --- a/source4/torture/vfs/fruit.c +++ b/source4/torture/vfs/fruit.c @@ -1749,6 +1749,12 @@ static bool test_adouble_conversion(struct torture_context *tctx, bool ret = true; const char *data = "This resource fork intentionally left blank"; size_t datalen = strlen(data); + const char *localdir = NULL; + + localdir = torture_setting_string(tctx, "localdir", NULL); + if (localdir == NULL) { + torture_skip(tctx, "Need localdir for test"); + } smb2_util_unlink(tree, fname); |