summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-11-09 16:39:05 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2026-11-09 16:39:05 -0800
commitb3dfbde62cf1981c4638939c159dfd087b7a72e9 (patch)
tree079eddf5160cb7b1292487ee24fefc54c6f2e139 /tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc
parentf1bfe4003916a6d56e43b08698f38bad4443bcf4 (diff)
parent36990c8fda77d918b1e52d5d6df3a144b552d86e (diff)
downloadlwn-master.tar.gz
lwn-master.zip
Merge tag 'linux_kselftest-fixes-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftestHEADmaster
Pull kselftest fixes from Shuah Khan: "Fixes run_fat_tests hang, false bashism in kprobe_non_uniq_symbol.tc, and ftrace invalid test skip" * tag 'linux_kselftest-fixes-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: selftests/ftrace: Add missing spaces after ! in probe syntax tests tracing/selftests: Fix false bashism in kprobe_non_uniq_symbol.tc selftests/filesystems: Fix run_fat_tests hang
Diffstat (limited to 'tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc')
-rw-r--r--tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc
index b0e6b80ccb01..06efa67e01ff 100644
--- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc
+++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_syntax_errors.tc
@@ -108,7 +108,7 @@ if grep -q "<argname>" README; then
check_error 'p vfs_read args=^$arg*' # BAD_VAR_ARGS
check_error 'p vfs_read +0(^$arg*)' # BAD_VAR_ARGS
check_error 'p vfs_read $arg* ^$arg*' # DOUBLE_ARGS
-if !grep -q 'kernel return probes support:' README; then
+if ! grep -q 'kernel return probes support:' README; then
check_error 'r vfs_read ^$arg*' # NOFENTRY_ARGS
fi
check_error 'p vfs_read+20 ^$arg*' # NOFENTRY_ARGS