mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
When running the test for the damon subsystem, there are a lot of warnings because test scripts do not have executable permission, for example: Warning: file debugfs_attrs.sh is not executable Warning: file debugfs_schemes.sh is not executable Warning: file debugfs_target_ids.sh is not executable ... This patch adds executable permission to test scripts to eliminate these warnings. Signed-off-by: Juntong Deng <[email protected]> Reviewed-by: SeongJae Park <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
23 lines
272 B
Bash
Executable File
23 lines
272 B
Bash
Executable File
#!/bin/bash
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
source _debugfs_common.sh
|
|
|
|
# Test huge count read write
|
|
# ==========================
|
|
|
|
dmesg -C
|
|
|
|
for file in "$DBGFS/"*
|
|
do
|
|
./huge_count_read_write "$file"
|
|
done
|
|
|
|
if dmesg | grep -q WARNING
|
|
then
|
|
dmesg
|
|
exit 1
|
|
else
|
|
exit 0
|
|
fi
|