mirror of
https://github.com/transmission/transmission
synced 2025-02-23 14:40:43 +00:00
continuation of previous commit to find out why Jenkins doesn't like the new rename unit tests
This commit is contained in:
parent
cd4543fe4c
commit
5fb6ec36de
1 changed files with 5 additions and 1 deletions
|
@ -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<n; ++i)
|
||||
|
|
Loading…
Reference in a new issue