Moves the lock file where the first content file resides.

This commit is contained in:
Andrea Mazzoleni 2014-02-22 08:46:11 +01:00
parent 5c27e62cd2
commit 4b93f3e5ab
3 changed files with 14 additions and 6 deletions

View file

@ -86,6 +86,9 @@ void memory(void)
printf("Using %u MiB of memory.\n", (unsigned)(malloc_counter() / 1024 / 1024));
}
/****************************************************************************/
/* log */
void log_open(const char* log)
{
char path[PATH_MAX];
@ -185,6 +188,9 @@ void log_close(const char* log)
}
}
/****************************************************************************/
/* main */
#define OPT_TEST_SKIP_SELF 256
#define OPT_TEST_KILL_AFTER_SYNC 257
#define OPT_TEST_EXPECT_UNRECOVERABLE 258