mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
selftests/ftrace: Fix checkbashisms errors
Fix the below checkbashisms errors. Because of these errors, these tests
will fail on dash shell.
possible bashism in test.d/kprobe/kretprobe_entry_arg.tc line 14 ('function' is useless):
function streq() {
possible bashism in test.d/dynevent/fprobe_entry_arg.tc line 14 ('function' is useless):
function streq() {
Fixes: f6e2253a61
("selftests/ftrace: Add test cases for entry args at function exit")
Cc: stable@vger.kernel.org
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
2fd3ef1b92
commit
b07b7e2fd5
@ -11,7 +11,7 @@ echo 1 > events/tests/enable
|
||||
echo > trace
|
||||
cat trace > /dev/null
|
||||
|
||||
function streq() {
|
||||
streq() {
|
||||
test $1 = $2
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ echo 1 > events/kprobes/enable
|
||||
echo > trace
|
||||
cat trace > /dev/null
|
||||
|
||||
function streq() {
|
||||
streq() {
|
||||
test $1 = $2
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user