Re: [PATCH 1/6] selftests/clone3: convert test modes into an enum

2019-09-16 Thread shuah
On 9/10/19 6:03 AM, Eugene Syromiatnikov wrote: * tools/testing/selftests/clone3/clone3.c (CLONE3_ARGS_NO_TEST, CLONE3_ARGS_ALL_0, CLONE3_ARGS_ALL_1): Change into an enum. (call_clone3): Change test_mode parameter type to enum test_mode; use switch statement for actions that dependent on test_mod

[PATCH 1/6] selftests/clone3: convert test modes into an enum

2019-09-10 Thread Eugene Syromiatnikov
* tools/testing/selftests/clone3/clone3.c (CLONE3_ARGS_NO_TEST, CLONE3_ARGS_ALL_0, CLONE3_ARGS_ALL_1): Change into an enum. (call_clone3): Change test_mode parameter type to enum test_mode; use switch statement for actions that dependent on test_mode selection. (test_clone3): Change test_mode param