aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/damon/debugfs_target_ids_read_before_terminate_race.sh
blob: fc793c4c9aea9f31147d6b822e9e5657c4139e34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0

dmesg -C

./debugfs_target_ids_read_before_terminate_race 5000

if dmesg | grep -q dbgfs_target_ids_read
then
	dmesg
	exit 1
else
	exit 0
fi