components/libneon/patches/003-tests-common-test.c.patch
changeset 3955 4e310c8109a5
equal deleted inserted replaced
3953:7a1f9588575b 3955:4e310c8109a5
       
     1 --- test/common/tests.c	2009-03-04 06:31:40.000000000 -0800
       
     2 +++ test/common/tests.c	2015-03-10 12:56:14.979436301 -0700
       
     3 @@ -154,7 +154,7 @@
       
     4  static void print_prefix(int n)
       
     5  {
       
     6      if (quiet) {
       
     7 -        printf("\r%s%.*s %2u/%2u ", test_suite, 
       
     8 +        printf("\n%s%.*s %2u/%2u ", test_suite, 
       
     9                 (int) (strlen(dots) - strlen(test_suite)), dots,
       
    10                 n + 1, count);
       
    11      }
       
    12 @@ -163,7 +163,7 @@
       
    13  	    printf("    %s ", dots);
       
    14          }
       
    15          else {
       
    16 -            printf("\r%2d. %s%.*s ", n, test_name, 
       
    17 +            printf("\n%2d. %s%.*s ", n, test_name, 
       
    18                 (int) (strlen(dots) - strlen(test_name)), dots);
       
    19          }
       
    20      }
       
    21 @@ -392,7 +392,7 @@
       
    22              printf("<- all tests skipped for `%s'.\n", test_suite);
       
    23      } else {
       
    24          if (quiet) {
       
    25 -            printf("\r%s%.*s %2u/%2u ", test_suite, 
       
    26 +            printf("\n%s%.*s %2u/%2u ", test_suite, 
       
    27                     (int) (strlen(dots) - strlen(test_suite)), dots,
       
    28                     passes, count);
       
    29              if (fails == 0) {