#!/bin/sh -efu

. "${srcdir=.}/scno_tampering.sh"

for i in 0 23 42; do
	run_strace -a35 -e trace=syslog -e inject=syslog:retval="${i}" \
		../syslog-success "${i}" > "$EXP.$i"
	mv "$LOG" "$LOG.$i"
	match_diff "$LOG.$i" "$EXP.$i"
done
