2 # SPDX-License-Identifier: GPL-2.0+
3 # Copyright (c) 2019 Oracle, Inc. All Rights Reserved.
7 # Regression test for a long-standing bug in BULKSTAT and INUMBERS where
8 # the kernel fails to write thew new @lastip value back to userspace if
11 # This is a regression test for commit f16fe3ecde62 ("xfs: bulkstat should copy
12 # lastip whenever userspace supplies one")
15 seqres=$RESULT_DIR/$seq
16 echo "QA output created by $seq"
20 status=1 # failure is the default!
21 trap "_cleanup; exit \$status" 0 1 2 3 15
29 # get standard environment, filters and checks
33 _require_test_program "bulkstat_null_ocount"
35 # real QA test starts here
41 echo "Silence is golden."
42 $here/src/bulkstat_null_ocount $TEST_DIR