mirror-linux/tools/testing/selftests/vm
Juntong Deng 5e7275e432 selftests/mm: fix awk usage in charge_reserved_hugetlb.sh and hugetlb_reparenting_test.sh that may cause error
[ Upstream commit bbe246f875 ]

According to the awk manual, the -e option does not need to be specified
in front of 'program' (unless you need to mix program-file).

The redundant -e option can cause error when users use awk tools other
than gawk (for example, mawk does not support the -e option).

Error Example:
awk: not an option: -e

Link: https://lkml.kernel.org/r/VI1P193MB075228810591AF2FDD7D42C599C3A@VI1P193MB0752.EURP193.PROD.OUTLOOK.COM
Signed-off-by: Juntong Deng <juntong.deng@outlook.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-25 12:03:08 +02:00
..
.gitignore selftest: vm: remove deleted local_config.* from .gitignore 2022-09-11 20:26:10 -07:00
Makefile selftests: vm: Fix incorrect kernel headers search path 2023-03-10 09:34:18 +01:00
charge_reserved_hugetlb.sh selftests/mm: fix awk usage in charge_reserved_hugetlb.sh and hugetlb_reparenting_test.sh that may cause error 2023-10-25 12:03:08 +02:00
compaction_test.c
config
gup_test.c selftests/vm: use top_srcdir instead of recomputing relative paths 2022-10-05 11:05:17 -06:00
hmm-tests.c - Alistair Popple has a series which addresses a race which causes page 2022-10-14 12:28:43 -07:00
hugepage-mmap.c
hugepage-mremap.c selftest/vm: uninitialized variable in main() 2022-07-29 18:07:17 -07:00
hugepage-shm.c
hugepage-vmemmap.c
hugetlb-madvise.c tools/testing/selftests/vm/hugetlb-madvise.c: silence uninitialized variable warning 2022-07-29 18:07:16 -07:00
hugetlb_reparenting_test.sh selftests/mm: fix awk usage in charge_reserved_hugetlb.sh and hugetlb_reparenting_test.sh that may cause error 2023-10-25 12:03:08 +02:00
khugepaged.c selftests/vm: add file/shmem MADV_COLLAPSE selftest for cleared pmd 2022-10-03 14:03:34 -07:00
ksm_tests.c selftests/vm: use top_srcdir instead of recomputing relative paths 2022-10-05 11:05:17 -06:00
madv_populate.c
map_fixed_noreplace.c
map_hugetlb.c
map_populate.c
memfd_secret.c
migration.c
mlock-random-test.c
mlock2-tests.c
mlock2.h
mrelease_test.c selftests/vm: fix errno handling in mrelease_test 2022-07-29 18:07:14 -07:00
mremap_dontunmap.c
mremap_test.c mm: add merging after mremap resize 2022-09-26 19:46:28 -07:00
on-fault-limit.c
pkey-helpers.h
pkey-powerpc.h
pkey-x86.h selftests/vm/pkeys: Add a regression test for setting PKRU through ptrace 2023-01-14 10:33:42 +01:00
protection_keys.c selftests/vm/pkeys: Add a regression test for setting PKRU through ptrace 2023-01-14 10:33:42 +01:00
run_vmtests.sh selftests: vm: add /dev/userfaultfd test cases to run_vmtests.sh 2022-09-11 20:25:49 -07:00
settings selftests: vm: add the "settings" file with timeout variable 2022-05-25 10:47:49 -07:00
soft-dirty.c selftests/vm: dedup THP helpers 2022-10-03 14:03:34 -07:00
split_huge_page_test.c selftests/vm: dedup THP helpers 2022-10-03 14:03:34 -07:00
test_hmm.sh mm/hmm/test: use char dev with struct device to get device node 2022-10-03 14:03:03 -07:00
test_vmalloc.sh
thuge-gen.c
transhuge-stress.c
userfaultfd.c mm/selftest: uffd: explain the write missing fault check 2022-10-12 18:51:50 -07:00
util.h
va_128TBswitch.c selftests/vm: skip 128TBswitch on unsupported arch 2022-07-29 18:07:14 -07:00
va_128TBswitch.sh selftests/vm: fix va_128TBswitch.sh permissions 2022-07-26 16:59:50 -07:00
virtual_address_range.c
vm_util.c selftests/vm: add thp collapse file and tmpfs testing 2022-10-03 14:03:34 -07:00
vm_util.h selftests/vm: add thp collapse file and tmpfs testing 2022-10-03 14:03:34 -07:00
write_hugetlb_memory.sh
write_to_hugetlbfs.c