strace/tests/quotactl-success.test

12 lines
278 B
Plaintext
Raw Normal View History

#!/bin/sh -efu
#
# Copyright (c) 2018 The strace developers.
# All rights reserved.
#
# SPDX-License-Identifier: GPL-2.0-or-later
. "${srcdir=.}/scno_tampering.sh"
run_strace -e trace=quotactl -e inject=quotactl:retval=42 ../quotactl-success > "$EXP"
match_diff "$LOG" "$EXP"