diff options
author | Peter Palfrader <peter@palfrader.org> | 2011-12-17 11:22:31 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-12-17 12:21:51 -0500 |
commit | f6b19ac79c348f732eb08405367d7a434f8d8f08 (patch) | |
tree | 3963455e2334ef4264e10e993686d658e4f83a5e /src/or/connection.c | |
parent | d37cb8f74aa741cebe0001a4b56bd2bae539e225 (diff) | |
download | tor-f6b19ac79c348f732eb08405367d7a434f8d8f08.tar.gz tor-f6b19ac79c348f732eb08405367d7a434f8d8f08.zip |
test_util_spawn_background_ok: fix expectation
test_util_spawn_background_ok() hardcoded the expected value
for ENOENT to 2. This isn't portable as error numbers are
platform specific, and particularly the hurd has ENOENT at
0x40000002.
Construct expected string at runtime, using the correct value
for ENOENT (closes: #4733).
Diffstat (limited to 'src/or/connection.c')
0 files changed, 0 insertions, 0 deletions