mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
s4:torture:vfs_fruit: skip test_stream_names() 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 56bf27667cc8f2fad0cad96d796bdd2f172326a8)
This commit is contained in:
parent
33851cb6b2
commit
7ed3a9855d
@ -2587,6 +2587,12 @@ static bool test_stream_names(struct torture_context *tctx,
|
||||
":bar" "\xef\x80\xa2" "baz:$DATA", /* "bar:baz:$DATA" */
|
||||
"::$DATA"
|
||||
};
|
||||
const char *localdir = NULL;
|
||||
|
||||
localdir = torture_setting_string(tctx, "localdir", NULL);
|
||||
if (localdir == NULL) {
|
||||
torture_skip(tctx, "Need localdir for test");
|
||||
}
|
||||
|
||||
sname1 = talloc_asprintf(mem_ctx, "%s%s", fname, streams[0]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user