summaryrefslogtreecommitdiff
path: root/tests/selftest/005
blob: 738cf44da66e346658ae8241c9764c2410c7a57b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/bash
# SPDX-License-Identifier: GPL-2.0
#
# FS QA Test No. 005
#
# A test that crashes
#
. ./common/preamble
_begin_fstest dangerous_selftest

echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger

echo "I should have crashed by now"
status=0
exit