]> git.ipfire.org Git - thirdparty/kernel/stable.git/blob - tools/testing/selftests/riscv/mm/run_mmap.sh
Merge tag 'kvm-x86-docs-6.7' of https://github.com/kvm-x86/linux into HEAD
[thirdparty/kernel/stable.git] / tools / testing / selftests / riscv / mm / run_mmap.sh
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
3
4 original_stack_limit=$(ulimit -s)
5
6 ./mmap_default
7
8 # Force mmap_bottomup to be ran with bottomup memory due to
9 # the unlimited stack
10 ulimit -s unlimited
11 ./mmap_bottomup
12 ulimit -s $original_stack_limit