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