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