selftests/proc: fixup proc-empty-vm test after KSM changes
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 7 Sep 2023 11:10:12 +0000 (14:10 +0300)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 19 Sep 2023 20:21:33 +0000 (13:21 -0700)
commit9d1be94df5acd486b157e85ffa53d344e5b17e22
treec277953e26da360639d19c8fc03a45e9bbde80ce
parent493d4eecf45d15bb1850832f5f5ece2556308646
selftests/proc: fixup proc-empty-vm test after KSM changes

/proc/${pid}/smaps_rollup is not empty file even if process's address
space is empty, update the test.

Link: https://lkml.kernel.org/r/725e041f-e9df-4f3d-b267-d4cd2774a78d@p183
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Stefan Roesch <shr@devkernel.io>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/proc/proc-empty-vm.c