summaryrefslogtreecommitdiff
path: root/src/test/test_util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-10-10 11:18:07 -0400
committerNick Mathewson <nickm@torproject.org>2013-10-10 11:18:07 -0400
commit7b1b8c36942a09ff4c50ac228f465aa4050153e3 (patch)
treeec4f224727635f4d46f5d4d641cdd2952e10e86f /src/test/test_util.c
parent1137817319c7a9e4293e9901405d01e7b85da6ea (diff)
parent004a9c6dd11ba71f310b750f00d5ed403faceb5a (diff)
downloadtor-7b1b8c36942a09ff4c50ac228f465aa4050153e3.tar.gz
tor-7b1b8c36942a09ff4c50ac228f465aa4050153e3.zip
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Diffstat (limited to 'src/test/test_util.c')
-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 6e1ee713d8..65d9d2f878 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -2252,6 +2252,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);