aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-10-10 11:18:17 -0400
committerNick Mathewson <nickm@torproject.org>2013-10-10 11:18:17 -0400
commit3d817fa29cb9a0f58dd641aabf7f34301bf5809d (patch)
treec3954621fef2fd48d92fcce3c4de6e0a4191e6ce /src/test
parent97285bc46550ba135a2567d89351159da8db99f8 (diff)
parent7b1b8c36942a09ff4c50ac228f465aa4050153e3 (diff)
downloadtor-3d817fa29cb9a0f58dd641aabf7f34301bf5809d.tar
tor-3d817fa29cb9a0f58dd641aabf7f34301bf5809d.tar.gz
Merge remote-tracking branch 'origin/maint-0.2.4'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index 05d28d787..1f3b4d6de 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);