]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - tools/testing/selftests/ftrace/test.d/00basic/basic3.tc
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / tools / testing / selftests / ftrace / test.d / 00basic / basic3.tc
CommitLineData
03e16645 1#!/bin/sh
b2441318 2# SPDX-License-Identifier: GPL-2.0
03e16645 3# description: Basic trace clock test
03c20175 4# flags: instance
915de2ad 5test -f trace_clock
03e16645 6for c in `cat trace_clock | tr -d \[\]`; do
915de2ad
MH
7 echo $c > trace_clock
8 grep '\['$c'\]' trace_clock
03e16645
MH
9done
10echo local > trace_clock