diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2018-08-30 23:17:10 +0900 |
---|---|---|
committer | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-10-24 14:49:35 -0600 |
commit | cec3adf5f57160d829a033bcb578c3dd0a90c693 (patch) | |
tree | 32b7e492316f480588b0017f10db5d811f938893 /tools/testing/selftests/ftrace/test.d/event/toplevel-enable.tc | |
parent | 72ce3daf92ba4f5bae6e91095d40e67b367c6b2f (diff) | |
download | blackbird-op-linux-cec3adf5f57160d829a033bcb578c3dd0a90c693.tar.gz blackbird-op-linux-cec3adf5f57160d829a033bcb578c3dd0a90c693.zip |
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/toplevel-enable.tc')
-rw-r--r-- | tools/testing/selftests/ftrace/test.d/event/toplevel-enable.tc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/testing/selftests/ftrace/test.d/event/toplevel-enable.tc b/tools/testing/selftests/ftrace/test.d/event/toplevel-enable.tc index 8d55a233c1a4..84d7bda08d2a 100644 --- a/tools/testing/selftests/ftrace/test.d/event/toplevel-enable.tc +++ b/tools/testing/selftests/ftrace/test.d/event/toplevel-enable.tc @@ -12,10 +12,6 @@ fail() { #msg exit_fail } -yield() { - ping localhost -c 1 || sleep .001 || usleep 1 || sleep 1 -} - if [ ! -f available_events -o ! -f set_event -o ! -d events ]; then echo "event tracing is not supported" exit_unsupported |