xref: /aosp_15_r20/external/ltp/runtest/crashme (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker#DESCRIPTION:Utility to crash your machine
2*49cdfc7eSAndroid Build Coastguard Worker# Before running these: BACKUP YOUR SYSTEM!  you've been warned!
3*49cdfc7eSAndroid Build Coastguard Workerf00f f00f
4*49cdfc7eSAndroid Build Coastguard Worker# This is a simple test for handling of the pentium f00f bug.
5*49cdfc7eSAndroid Build Coastguard Worker# It is an example of a catistrophic test case.  If the system
6*49cdfc7eSAndroid Build Coastguard Worker# doesn't correctly handle this test, it will likely lockup.
7*49cdfc7eSAndroid Build Coastguard Workercrash01 crash01
8*49cdfc7eSAndroid Build Coastguard Worker# Generate random code and execute it. Read f00f comment,
9*49cdfc7eSAndroid Build Coastguard Worker# this test lockup SunOS,WindowsNT,etc. in seconds..
10*49cdfc7eSAndroid Build Coastguard Workercrash02 crash02 -v 2
11*49cdfc7eSAndroid Build Coastguard Worker# Fork as many children as possible.  On systems with lots of memory
12*49cdfc7eSAndroid Build Coastguard Worker# and kernels prior to 2.4.19, this can hang the system by using up all pids
13