blob: a255322d5640b8afc2b68f182f39545e551e1ac4 [file] [log] [blame]
Dmitry V. Levinba351372016-05-25 15:44:32 +00001#!/bin/sh
2
3# Check verbose decoding of RTC_* ioctls.
4
5. "${srcdir=.}/init.sh"
6
7run_prog > /dev/null
8run_strace -a16 -veioctl $args > "$EXP"
9check_prog grep
10grep -v '^ioctl([012],' < "$LOG" > "$OUT"
11match_diff "$OUT" "$EXP"
12rm -f "$EXP" "$OUT"