summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/ftrace/test.d/00basic/basic3.tc
blob: 58a2506f788e8ca3893e76cfe3b4f48284a2be43 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# description: Basic trace clock test
# flags: instance
test -f trace_clock
for c in `cat trace_clock | tr  -d \[\]`; do
  echo $c > trace_clock
  grep '\['$c'\]' trace_clock
done
echo local > trace_clock
OpenPOWER on IntegriCloud