Changeset 13850


Ignore:
Timestamp:
Jan 23, 2013, 8:51:55 PM (8 years ago)
Author:
jordan
Message:

add temporary verbosity to the rename-test to coax log info out of Jenkins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rename-test.c

    r13848 r13850  
    462462  char buf[32];
    463463
     464errno = 0;
    464465  path = tr_buildPath (top, "files-filled-with-zeroes", NULL);
    465466  tr_mkdirp (path, 0700);
     
    469470  tr_snprintf (buf, sizeof(buf), "%d", n);
    470471  path = tr_buildPath (top, "files-filled-with-zeroes", buf, NULL);
     472fprintf (stderr, "%s\n", path);
     473fprintf (stderr, "errno is %d (%s)\n", errno, tr_strerror (errno));
    471474  fp = fopen (path, "wb+");
    472475  for (i=0; i<n; ++i)
     
    478481  tr_snprintf (buf, sizeof(buf), "%d", n);
    479482  path = tr_buildPath (top, "files-filled-with-zeroes", buf, NULL);
     483fprintf (stderr, "%s\n", path);
     484fprintf (stderr, "errno is %d (%s)\n", errno, tr_strerror (errno));
    480485  fp = fopen (path, "wb+");
    481486  for (i=0; i<n; ++i)
     
    487492  tr_snprintf (buf, sizeof(buf), "%d.part", n);
    488493  path = tr_buildPath (top, "files-filled-with-zeroes", buf, NULL);
     494fprintf (stderr, "%s\n", path);
     495fprintf (stderr, "errno is %d (%s)\n", errno, tr_strerror (errno));
    489496  fp = fopen (path, "wb+");
    490497  n -= 100;
     
    493500  fclose (fp);
    494501  tr_free (path);
     502fprintf (stderr, "errno is %d (%s)\n", errno, tr_strerror (errno));
    495503
    496504  sync ();
     
    562570                             test_partial_file };
    563571
     572  verbose = 1;
     573
    564574  libtransmission_test_session_init ();
    565575  ret = runTests (tests, NUM_TESTS (tests));
Note: See TracChangeset for help on using the changeset viewer.