2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2014 Miklos Szeredi. All Rights Reserved.
5 # FS QA Test No. generic/078
7 # Check renameat2 syscall with RENAME_WHITEOUT flag
10 seqres=$RESULT_DIR/$seq
11 echo "QA output created by $seq"
15 status=1 # failure is the default!
16 trap "_cleanup; exit \$status" 0 1 2 3 15
24 # get standard environment, filters and checks
31 _require_renameat2 whiteout
34 # real QA test starts here
36 rename_dir=$TEST_DIR/$$
38 _rename_tests $rename_dir -w