summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/ftrace/test.d/00basic/basic3.tc
blob: bde6625d9785fbc25073a69c9e8a003ff7a8a905 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
# description: Basic trace clock test
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