From: Jordan Lee Date: Wed, 23 Jan 2013 20:59:20 +0000 (+0000) Subject: continuation of previous commit to find out why Jenkins doesn't like the new rename... X-Git-Tag: 2.80~219 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fb6ec36ded6ed0764f31fd02bf080fdfe0e865e;p=transmission continuation of previous commit to find out why Jenkins doesn't like the new rename unit tests --- diff --git a/libtransmission/rename-test.c b/libtransmission/rename-test.c index 0e732816d..29b02774b 100644 --- a/libtransmission/rename-test.c +++ b/libtransmission/rename-test.c @@ -461,15 +461,19 @@ create_zero_torrent_partial_contents (const char * top) char * path; char buf[32]; +fprintf (stderr, "top %s exists %d\n", top, (int)tr_fileExists(top,NULL)); + errno = 0; path = tr_buildPath (top, "files-filled-with-zeroes", NULL); tr_mkdirp (path, 0700); +fprintf (stderr, "%s:%d %s\n", __FILE__, __LINE__, path); +fprintf (stderr, "errno is %d (%s)\n", errno, tr_strerror (errno)); tr_free (path); 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, "%s:%d %s\n", __FILE__, __LINE__, path); fprintf (stderr, "errno is %d (%s)\n", errno, tr_strerror (errno)); fp = fopen (path, "wb+"); for (i=0; i