diff options
| author | Ralph Boehme <slow@samba.org> | 2015-01-07 22:47:13 +0100 |
|---|---|---|
| committer | Volker Lendecke <vl@samba.org> | 2015-01-08 15:31:44 +0100 |
| commit | 8d4cac1245c3a9b29926be0a4a0daff0933b0260 (patch) | |
| tree | 51ad27a58b5807b5586f35526cf80d137585946c /source4/torture/vfs | |
| parent | d9c22a3af2ac319d075a952c71496b6b76c83fcf (diff) | |
| download | samba-8d4cac1245c3a9b29926be0a4a0daff0933b0260.tar.gz samba-8d4cac1245c3a9b29926be0a4a0daff0933b0260.tar.xz samba-8d4cac1245c3a9b29926be0a4a0daff0933b0260.zip | |
s4:torture:vfs_fruit: fix model name check
Don't abort when the model string is not "Samba", simply log it.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Jan 8 15:31:44 CET 2015 on sn-devel-104
Diffstat (limited to 'source4/torture/vfs')
| -rw-r--r-- | source4/torture/vfs/fruit.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source4/torture/vfs/fruit.c b/source4/torture/vfs/fruit.c index 5d4a411f59..162885e4f5 100644 --- a/source4/torture/vfs/fruit.c +++ b/source4/torture/vfs/fruit.c @@ -1501,13 +1501,7 @@ static bool test_aapl(struct torture_context *tctx, __location__); goto done; } - if (strncmp(model, "Samba", 5) != 0) { - torture_result(tctx, TORTURE_FAIL, - "(%s) expected model \"Samba\", got: \"%s\"", - __location__, model); - ret = false; - goto done; - } + torture_comment(tctx, "Got server model: \"%s\"\n", model); /* * Now that Requested AAPL extensions are enabled, setup some |
