selftests/vm: remove call to ksft_set_plan()
The function definition for ksft_set_plan() is not present in linux-4.19.y.
compaction_test selftest fails to compile because of this.
Fixes: 9a21701edc41 ("selftests/mm: conform test to TAP format output")
Signed-off-by: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
Reviewed-by: Saeed Mirzamohammadi <saeed.mirzamohammadi@oracle.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
45fe2dca53
commit
26a7159fdc
@@ -183,8 +183,6 @@ int main(int argc, char **argv)
|
|||||||
if (prereq() != 0)
|
if (prereq() != 0)
|
||||||
return ksft_exit_pass();
|
return ksft_exit_pass();
|
||||||
|
|
||||||
ksft_set_plan(1);
|
|
||||||
|
|
||||||
lim.rlim_cur = RLIM_INFINITY;
|
lim.rlim_cur = RLIM_INFINITY;
|
||||||
lim.rlim_max = RLIM_INFINITY;
|
lim.rlim_max = RLIM_INFINITY;
|
||||||
if (setrlimit(RLIMIT_MEMLOCK, &lim))
|
if (setrlimit(RLIMIT_MEMLOCK, &lim))
|
||||||
|
|||||||
Reference in New Issue
Block a user