selftests/resctrl: Use remount_resctrlfs() consistently with boolean
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 15 Feb 2023 13:06:04 +0000 (15:06 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 10 Apr 2023 18:21:10 +0000 (12:21 -0600)
commita967e17f918400226e57335e6131572d9f456a9f
tree5d3f52de1eb596cf88ba5804f8d6cc8f353c0609
parente48c32306bce38a7b2617543fe0d8d51ca49a448
selftests/resctrl: Use remount_resctrlfs() consistently with boolean

remount_resctrlfs() accepts a boolean value as an argument. Some tests
pass 0/1 and some tests pass true/false.

Make all the callers of remount_resctrlfs() use true/false so that the
parameter usage is consistent across tests.

Co-developed-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/resctrl/cat_test.c
tools/testing/selftests/resctrl/cmt_test.c
tools/testing/selftests/resctrl/mba_test.c
tools/testing/selftests/resctrl/mbm_test.c
tools/testing/selftests/resctrl/resctrl.h