summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2020-08-19 03:57:20 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2020-09-08 14:23:54 +0200
commit17c98a541dc9bb1162877af41cddbdca043f9a59 (patch)
tree6b8dc841f1a6529db2ea599e7c54573cfc9e91b5 /tools
parentselftests/powerpc: Make using_hash_mmu() work on Cell & PowerMac (diff)
downloadlinux-17c98a541dc9bb1162877af41cddbdca043f9a59.tar.xz
linux-17c98a541dc9bb1162877af41cddbdca043f9a59.zip
selftests/powerpc: Give the bad_accesses test longer to run
On older systems this test takes longer to run (duh), give it five minutes which is long enough on a G5 970FX @ 1.6GHz. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200819015727.1977134-2-mpe@ellerman.id.au
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/powerpc/mm/bad_accesses.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/mm/bad_accesses.c b/tools/testing/selftests/powerpc/mm/bad_accesses.c
index a864ed7e2008..fd747b2ffcfc 100644
--- a/tools/testing/selftests/powerpc/mm/bad_accesses.c
+++ b/tools/testing/selftests/powerpc/mm/bad_accesses.c
@@ -139,5 +139,6 @@ static int test(void)
int main(void)
{
+ test_harness_set_timeout(300);
return test_harness(test, "bad_accesses");
}