Skip to content

Commit 3432cbb

Browse files
luiz-capakpm00
authored andcommitted
selftests/mm: run_vmtests.sh: fix destructive tests invocation
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: f16ff3b ("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>
1 parent 228e25e commit 3432cbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/mm/run_vmtests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ RUN_ALL=false
103103
RUN_DESTRUCTIVE=false
104104
TAP_PREFIX="# "
105105

106-
while getopts "aht:n" OPT; do
106+
while getopts "aht:nd" OPT; do
107107
case ${OPT} in
108108
"a") RUN_ALL=true ;;
109109
"h") usage ;;

0 commit comments

Comments
 (0)