Open zoybai opened 5 years ago
Please be careful that the sanitization implementation doesn't break the support for test-specific arguments. Perhaps each subtest which defines its own arguments should provide a helper which checks any arguments that the main code doesn't understand.
Sanitize the invalid input so that lockhammer will stop if it detects wrong parameter
"lh_swap_mutex -c [0, 1, 2, 3]" succeeds in shell, which should be stopped because the -c parameter is invalid.