xref: /linux/tools/testing/selftests/damon/debugfs_huge_count_read_write.sh (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1#!/bin/bash
2# SPDX-License-Identifier: GPL-2.0
3
4source _debugfs_common.sh
5
6# Test huge count read write
7# ==========================
8
9dmesg -C
10
11for file in "$DBGFS/"*
12do
13	./huge_count_read_write "$file"
14done
15
16if dmesg | grep -q WARNING
17then
18	dmesg
19	exit 1
20else
21	exit 0
22fi
23