mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-22 09:34:56 +02:00
selftests/mm: run_vmtests.sh: fix destructive tests invocation
commit3432cbb291upstream. Destructive tests should be invoked with -d command-line option, but this won't work today since 'd' is missing in getopts command-line. This commit fixes it. Link: https://lore.kernel.org/214fd9e4-5398-4c26-859e-c982c2e277c3@redhat.com Fixes:f16ff3b692("selftests/mm: run_vmtests.sh: add missing tests") Signed-off-by: Luiz Capitulino <luizcap@redhat.com> Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Reviewed-by: SeongJae Park <sj@kernel.org> Cc: David Hildenbrand <david@kernel.org> Cc: Liam R. Howlett <liam@infradead.org> Cc: Lorenzo Stoakes <ljs@kernel.org> Cc: Michal Hocko <mhocko@suse.com> Cc: Shuah Khan <shuah@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@kernel.org> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
738d18f1da
commit
0fa24311bd
@@ -97,7 +97,7 @@ RUN_ALL=false
|
||||
RUN_DESTRUCTIVE=false
|
||||
TAP_PREFIX="# "
|
||||
|
||||
while getopts "aht:n" OPT; do
|
||||
while getopts "aht:nd" OPT; do
|
||||
case ${OPT} in
|
||||
"a") RUN_ALL=true ;;
|
||||
"h") usage ;;
|
||||
|
||||
Reference in New Issue
Block a user