generic: test for file loss after mix of rename, fsync and inode eviction
[xfstests-dev.git] / tests / generic / 592
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright 2019 Google LLC
4 #
5 # FS QA Test No. 592
6 #
7 # Verify ciphertext for v2 encryption policies that use the IV_INO_LBLK_64 flag
8 # and use AES-256-XTS to encrypt file contents and AES-256-CTS-CBC to encrypt
9 # file names.
10 #
11 . ./common/preamble
12 _begin_fstest auto quick encrypt
13
14 # Import common functions.
15 . ./common/filter
16 . ./common/encrypt
17
18 # real QA test starts here
19 _supported_fs generic
20
21 _verify_ciphertext_for_encryption_policy AES-256-XTS AES-256-CTS-CBC \
22         v2 iv_ino_lblk_64
23
24 # success, all done
25 status=0
26 exit