From cd4543fe4c0ab11c8f25c904b4260013463238c1 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Wed, 23 Jan 2013 20:51:55 +0000 Subject: [PATCH] add temporary verbosity to the rename-test to coax log info out of Jenkins --- libtransmission/rename-test.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libtransmission/rename-test.c b/libtransmission/rename-test.c index 558423c4e..0e732816d 100644 --- a/libtransmission/rename-test.c +++ b/libtransmission/rename-test.c @@ -461,6 +461,7 @@ create_zero_torrent_partial_contents (const char * top) char * path; char buf[32]; +errno = 0; path = tr_buildPath (top, "files-filled-with-zeroes", NULL); tr_mkdirp (path, 0700); tr_free (path); @@ -468,6 +469,8 @@ create_zero_torrent_partial_contents (const char * top) n = 512; tr_snprintf (buf, sizeof(buf), "%d", n); path = tr_buildPath (top, "files-filled-with-zeroes", buf, NULL); +fprintf (stderr, "%s\n", path); +fprintf (stderr, "errno is %d (%s)\n", errno, tr_strerror (errno)); fp = fopen (path, "wb+"); for (i=0; i