WIP FPC-III support
[linux/fpc-iii.git] / tools / testing / selftests / ftrace / test.d / 00basic / trace_pipe.tc
blob435d07b1340793ce3455e222afa912f4e11716fe
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
3 # description: trace_pipe and trace_marker
4 # requires: trace_marker
5 # flags: instance
7 echo "test input 1" > trace_marker
9 : "trace interface never consume the ring buffer"
10 grep -q "test input 1" trace
11 grep -q "test input 1" trace
13 : "trace interface never consume the ring buffer"
14 head -n 1 trace_pipe | grep -q "test input 1"
15 ! grep -q "test input 1" trace