From 480c3727c91176d19f49f46c49ae8170b2f8e21f Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Wed, 17 Sep 2014 14:56:10 +0200 Subject: [PATCH] Revert "crushtool: safeguard for missing --num-rep when --test" This reverts commit 10b8966c8da38f8ae5ac7dbb2e16a5e45e502ba3. --- src/tools/crushtool.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/tools/crushtool.cc b/src/tools/crushtool.cc index 10adc11a4954..ccb0efda74a7 100644 --- a/src/tools/crushtool.cc +++ b/src/tools/crushtool.cc @@ -729,10 +729,6 @@ int main(int argc, const char **argv) } if (test) { - if (tester.get_min_rep() < 1 || tester.get_max_rep() < 1) { - cerr << me << " --test requires --num-rep with a value > 0 " << std::endl; - exit(1); - } if (tester.get_output_utilization_all() || tester.get_output_utilization()) tester.set_output_statistics(true); -- 2.47.3