Browse Source

The test with too short timeout is allowed to fail

Stéphane Raimbault 14 năm trước cách đây
mục cha
commit
a0a8242aba
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      tests/unit-test-client.c

+ 1 - 2
tests/unit-test-client.c

@@ -586,8 +586,7 @@ int main(int argc, char *argv[])
     if (rc == -1 && errno == ETIMEDOUT) {
         printf("OK\n");
     } else {
-        printf("FAILED\n");
-        goto close;
+        printf("FAILED (can fail on slow systems or Windows)\n");
     }
 
     /* Restore original timeout */