mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r21213: the build farm seems to show that FreeBSD 6.2 has two different error
codes for "Invalid argument". This change should help track that down
(This used to be commit 608aac7804
)
This commit is contained in:
parent
f0fcc332f5
commit
80445f7596
@ -184,7 +184,9 @@ static bool test_buffer(struct torture_context *test,
|
||||
show_buf(" rem1:", inbuf+(size-size_in1), size_in1);
|
||||
show_buf(" rem2:", inbuf+(size-size_in2), size_in2);
|
||||
torture_fail(test, talloc_asprintf(test,
|
||||
"e1=%s e2=%s", strerror(errno1), strerror(errno2)));
|
||||
"e1=%d/%s e2=%d/%s",
|
||||
errno1, strerror(errno1),
|
||||
errno2, strerror(errno2)));
|
||||
}
|
||||
|
||||
torture_assert_int_equal(test, outsize1, outsize2, "outsize mismatch");
|
||||
|
Loading…
Reference in New Issue
Block a user