summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/ftrace/test.d/event/event-enable.tc
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2018-08-30 23:17:10 +0900
committerShuah Khan (Samsung OSG) <shuah@kernel.org>2018-10-24 14:49:35 -0600
commitcec3adf5f57160d829a033bcb578c3dd0a90c693 (patch)
tree32b7e492316f480588b0017f10db5d811f938893 /tools/testing/selftests/ftrace/test.d/event/event-enable.tc
parent72ce3daf92ba4f5bae6e91095d40e67b367c6b2f (diff)
selftests/ftrace: Use loopback address instead of localhost
Use raw loopback address instead of localhost, because "localhost" can depend on nsswitch and in some case we can not resolve the localhost. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Diffstat (limited to 'tools/testing/selftests/ftrace/test.d/event/event-enable.tc')
-rw-r--r--tools/testing/selftests/ftrace/test.d/event/event-enable.tc4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/testing/selftests/ftrace/test.d/event/event-enable.tc b/tools/testing/selftests/ftrace/test.d/event/event-enable.tc
index 386dbddbdc11..dfb0d5122f7b 100644
--- a/tools/testing/selftests/ftrace/test.d/event/event-enable.tc
+++ b/tools/testing/selftests/ftrace/test.d/event/event-enable.tc
@@ -13,10 +13,6 @@ fail() { #msg
exit_fail
}
-yield() {
- ping localhost -c 1 || sleep .001 || usleep 1 || sleep 1
-}
-
if [ ! -f set_event -o ! -d events/sched ]; then
echo "event tracing is not supported"
exit_unsupported