xref: /linux/tools/testing/selftests/damon/debugfs_huge_count_read_write.sh (revision f9bff0e31881d03badf191d3b0005839391f5f2b)
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