Prechádzať zdrojové kódy

Merge branch 'ticket28668_035' into ticket28668_040

Nick Mathewson 5 rokov pred
rodič
commit
bbe417ae8f
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      src/test/test_util.c

+ 3 - 0
src/test/test_util.c

@@ -1087,7 +1087,10 @@ test_util_time(void *arg)
 
   /* This value is out of range with 32 bit time_t, but in range for 64 bit
    * time_t */
+  CAPTURE();
   format_rfc1123_time(timestr, (time_t)2150000000UL);
+  CHECK_POSSIBLE_EINVAL();
+
 #if SIZEOF_TIME_T == 4
 #if 0
   /* Wrapping around will have made it this. */