mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
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)
This commit is contained in:
parent
2d9ddc1a3b
commit
33851cb6b2
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user