Keeps the fast sync mode as the default mode.

This commit is contained in:
Andrea Mazzoleni 2014-02-10 20:53:47 +01:00
parent a64b416741
commit 3dadfb99e9
10 changed files with 48 additions and 48 deletions

View file

@ -104,7 +104,7 @@ void memory(void)
#define OPT_TEST_FORCE_SCRUB_EVEN 272
#define OPT_TEST_FORCE_CONTENT_WRITE 273
#define OPT_TEST_FORCE_CONTENT_TEXT 274
#define OPT_TEST_RAWSYNC 275
#define OPT_TEST_PREHASH 275
#if HAVE_GETOPT_LONG
struct option long_options[] = {
@ -186,8 +186,8 @@ struct option long_options[] = {
/* Force the use of text content file . */
{ "test-force-content-text", 0, 0, OPT_TEST_FORCE_CONTENT_TEXT },
/* Like the rawsync configuration option. */
{ "test-rawsync", 0, 0, OPT_TEST_RAWSYNC },
/* Like the prehash configuration option. */
{ "test-prehash", 0, 0, OPT_TEST_PREHASH },
{ 0, 0, 0, 0 }
};
@ -457,8 +457,8 @@ int main(int argc, char* argv[])
case OPT_TEST_FORCE_CONTENT_TEXT :
opt.force_content_text = 1;
break;
case OPT_TEST_RAWSYNC :
opt.rawsync = 1;
case OPT_TEST_PREHASH :
opt.prehash = 1;
break;
default:
/* LCOV_EXCL_START */