summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/ftrace/test.d/00basic/basic3.tc
blob: 0c1a3a2076365dbb4e1003157927c22241576318 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
# description: Basic trace clock test
[ -f trace_clock ] || exit 1
for c in `cat trace_clock | tr  -d \[\]`; do
  echo $c > trace_clock || exit 1
  grep '\['$c'\]' trace_clock || exit 1
done
echo local > trace_clock