diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-10-10 11:18:17 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-10-10 11:18:17 -0400 |
commit | 3d817fa29cb9a0f58dd641aabf7f34301bf5809d (patch) | |
tree | c3954621fef2fd48d92fcce3c4de6e0a4191e6ce /src/test | |
parent | 97285bc46550ba135a2567d89351159da8db99f8 (diff) | |
parent | 7b1b8c36942a09ff4c50ac228f465aa4050153e3 (diff) | |
download | tor-3d817fa29cb9a0f58dd641aabf7f34301bf5809d.tar.gz tor-3d817fa29cb9a0f58dd641aabf7f34301bf5809d.zip |
Merge remote-tracking branch 'origin/maint-0.2.4'
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index 05d28d7877..1f3b4d6dec 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -2312,6 +2312,7 @@ test_util_exit_status(void *ptr) n = format_helper_exit_status(0xFF, -0x80000000, hex_errno); test_streq("FF/-80000000\n", hex_errno); test_eq(n, strlen(hex_errno)); + test_eq(n, HEX_ERRNO_SIZE); clear_hex_errno(hex_errno); n = format_helper_exit_status(0x7F, 0, hex_errno); |