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
charge_reserved_hugetlb.sh
compaction_test.c
config
gup_test.c
hmm-tests.c
hugepage-mmap.c
hugepage-mremap.c
hugepage-shm.c
hugepage-vmemmap.c
hugetlb_reparenting_test.sh
hugetlb-madvise.c
khugepaged.c
ksm_tests.c
madv_populate.c
Makefile
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
mremap_dontunmap.c
mremap_test.c
on-fault-limit.c
pkey-helpers.h
pkey-powerpc.h
pkey-x86.h
protection_keys.c
run_vmtests.sh
settings
soft-dirty.c
split_huge_page_test.c
test_hmm.sh
test_vmalloc.sh
thuge-gen.c
transhuge-stress.c
userfaultfd.c
util.h
va_128TBswitch.c
va_128TBswitch.sh
virtual_address_range.c
vm_util.c
vm_util.h
write_hugetlb_memory.sh
write_to_hugetlbfs.c