selftests/damon/huge_count_read_write: remove unnecessary debugging message
authorSeongJae Park <sj@kernel.org>
Mon, 28 Oct 2024 23:30:54 +0000 (16:30 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 7 Nov 2024 22:38:08 +0000 (14:38 -0800)
The program prints expected errors from write/read of the files with
invalid huge count, for only debugging purpose.  It is only making the
output noisy.  Remove those.

Link: https://lkml.kernel.org/r/20241028233058.283381-3-sj@kernel.org
Fixes: b4a002889d24 ("selftests/damon: test debugfs file reads/writes with huge count")
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Andrew Paniakin <apanyaki@amazon.com>
Cc: Brendan Higgins <brendan.higgins@linux.dev>
Cc: David Gow <davidgow@google.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/damon/huge_count_read_write.c

index f3c199d..53e69a6 100644 (file)
@@ -28,9 +28,7 @@ void write_read_with_huge_count(char *file)
        }
 
        write(filedesc, "", 0xfffffffful);
-       perror("after write: ");
        ret = read(filedesc, buf, 0xfffffffful);
-       perror("after read: ");
        close(filedesc);
 }