mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
18378b0e49
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 <juntong.deng@outlook.com> Reviewed-by: SeongJae Park <sj@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
13 lines
368 B
Bash
Executable file
13 lines
368 B
Bash
Executable file
#!/bin/bash
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
source _debugfs_common.sh
|
|
|
|
# Test empty targets case
|
|
# =======================
|
|
|
|
orig_target_ids=$(cat "$DBGFS/target_ids")
|
|
echo "" > "$DBGFS/target_ids"
|
|
orig_monitor_on=$(cat "$DBGFS/monitor_on")
|
|
test_write_fail "$DBGFS/monitor_on" "on" "orig_monitor_on" "empty target ids"
|
|
echo "$orig_target_ids" > "$DBGFS/target_ids"
|