Lines Matching +full:clock +full:- +full:skip
2 # SPDX-License-Identifier: GPL-2.0
14 if [[ "$(id -u)" -ne 0 ]]; then
15 echo "SKIP: need root privileges"
20 echo "SKIP: PTP device not provided"
28 if [[ ! -x "$(command -v "$cmd")" ]]; then
29 echo "SKIP: $cmd not installed"
39 echo "SKIP: unknown clock $DEV: No such device"
52 # Per-test return value. Clear at the beginning of each test.
59 if [[ $RET -eq 0 && $err -ne 0 ]]; then
68 if [[ $RET -ne 0 ]]; then
70 printf "TEST: %-60s [FAIL]\n" "$test_name"
74 printf "TEST: %-60s [ OK ]\n" "$test_name"
82 for current_test in ${TESTS:-$ALL_TESTS}; do
95 | awk '/clock time is/{print $5}' \
96 | awk -F. '{print $1}')
106 | awk '/clock time is/{print $5}' \
107 | awk -F. '{print $1}')
116 # Set the clock to be 1% faster
118 | awk '/clock time is/{print $5}' \
119 | awk -F. '{print $1}')