Skip to content

Commit 1dc90cc

Browse files
sjp38torvalds
authored andcommitted
selftests/damon: support watermarks
This updates DAMON selftests for 'schemes' debugfs file to reflect the changes in the format. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: SeongJae Park <[email protected]> Cc: Amit Shah <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: David Rientjes <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Greg Thelen <[email protected]> Cc: Jonathan Cameron <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Leonard Foerster <[email protected]> Cc: Marco Elver <[email protected]> Cc: Markus Boehme <[email protected]> Cc: Shakeel Butt <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent ae666a6 commit 1dc90cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/testing/selftests/damon/debugfs_attrs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ echo "$orig_content" > "$file"
6363
file="$DBGFS/schemes"
6464
orig_content=$(cat "$file")
6565

66-
test_write_succ "$file" "1 2 3 4 5 6 4 0 0 0 1 2 3" \
66+
test_write_succ "$file" "1 2 3 4 5 6 4 0 0 0 1 2 3 1 100 3 2 1" \
6767
"$orig_content" "valid input"
6868
test_write_fail "$file" "1 2
69-
3 4 5 6 3 0 0 0 1 2 3" "$orig_content" "multi lines"
69+
3 4 5 6 3 0 0 0 1 2 3 1 100 3 2 1" "$orig_content" "multi lines"
7070
test_write_succ "$file" "" "$orig_content" "disabling"
7171
echo "$orig_content" > "$file"
7272

0 commit comments

Comments
 (0)