aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-10-19 14:35:29 -0400
committerNick Mathewson <nickm@torproject.org>2014-10-19 14:35:29 -0400
commit43836f6f0ab7c25b0c8c9fab366ec664ebd0b0ee (patch)
treed47c734edfd322945a2ab61179aab3b996e5d383 /src/test/test_util.c
parente318ab14b10f353da1ebcece0d6490191517e21a (diff)
parentc1c83eb376a7c89fadb01d1c7082d4aa4125333d (diff)
downloadtor-release-0.2.3.tar.gz
tor-release-0.2.3.zip
Merge remote-tracking branch 'origin/maint-0.2.3' into release-0.2.3release-0.2.3
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 4f9eb73e03..6c72247e9c 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -2169,6 +2169,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);