Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / tools / testing / selftests / ftrace / test.d / 00basic / basic3.tc
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
3 # description: Basic trace clock test
4 # flags: instance
5 test -f trace_clock
6 for c in `cat trace_clock | tr  -d \[\]`; do
7   echo $c > trace_clock
8   grep '\['$c'\]' trace_clock
9 done
10 echo local > trace_clock