diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-10-19 14:35:29 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-10-19 14:35:29 -0400 |
commit | 43836f6f0ab7c25b0c8c9fab366ec664ebd0b0ee (patch) | |
tree | d47c734edfd322945a2ab61179aab3b996e5d383 /src/test/test_util.c | |
parent | e318ab14b10f353da1ebcece0d6490191517e21a (diff) | |
parent | c1c83eb376a7c89fadb01d1c7082d4aa4125333d (diff) | |
download | tor-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.c | 1 |
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); |