generic/402: Drop useless fail message
[xfstests-dev.git] / tests / generic / 572.out
1 QA output created by 572
2
3 # Enabling verity on file with verity already enabled fails with EEXIST
4 (trying again)
5 ERROR: FS_IOC_ENABLE_VERITY failed on 'SCRATCH_MNT/file.fsv': File exists
6
7 # Enabling verity with invalid hash algorithm fails with EINVAL
8 ERROR: FS_IOC_ENABLE_VERITY failed on 'SCRATCH_MNT/file.fsv': Invalid argument
9
10 # Enabling verity with invalid block size fails with EINVAL
11 ERROR: FS_IOC_ENABLE_VERITY failed on 'SCRATCH_MNT/file.fsv': Invalid argument
12
13 # Enabling verity on directory fails with EISDIR
14 ERROR: FS_IOC_ENABLE_VERITY failed on 'SCRATCH_MNT/dir': Is a directory
15
16 # Enabling verity with too-long salt fails with EMSGSIZE
17 ERROR: FS_IOC_ENABLE_VERITY failed on 'SCRATCH_MNT/file.fsv': Message too long
18
19 # Enabling verity on file on read-only filesystem fails with EROFS
20 ERROR: FS_IOC_ENABLE_VERITY failed on 'SCRATCH_MNT/file.fsv': Read-only file system
21
22 # Enabling verity on file open for writing fails with ETXTBSY
23 ERROR: FS_IOC_ENABLE_VERITY failed on 'SCRATCH_MNT/file.fsv': Text file busy
24
25 # Enabling verity can be interrupted
26
27 # Enabling verity on file with verity already being enabled fails with EBUSY
28 ERROR: FS_IOC_ENABLE_VERITY failed on 'SCRATCH_MNT/file.fsv': Device or resource busy
29
30 # verity file can't be opened for writing
31 * reading
32 * xfs_io writing, should be O_RDWR
33 SCRATCH_MNT/file.fsv: Operation not permitted
34 * bash >>, should be O_APPEND
35 bash: SCRATCH_MNT/file.fsv: Operation not permitted
36 * bash >, should be O_WRONLY|O_CREAT|O_TRUNC
37 bash: SCRATCH_MNT/file.fsv: Operation not permitted
38
39 # verity file can be read
40
41 # verity file can be measured
42 sha256:be54121da3877f8852c65136d731784f134c4dd9d95071502e80d7be9f99b263
43
44 # verity file can be renamed
45
46 # verity file can be unlinked
47
48 # verity file can be linked to
49
50 # verity file can be chmodded
51
52 # verity file can be chowned
53
54 # verity file has correct contents and size
55 100000
56 100000
57
58 # Trying to measure non-verity file fails with ENODATA
59 ERROR: FS_IOC_MEASURE_VERITY failed on 'SCRATCH_MNT/file.fsv': No data available
60
61 # verity on 1-byte file
62 Files matched
63
64 # verity on 4095-byte file
65 Files matched
66
67 # verity on 4096-byte file
68 Files matched
69
70 # verity on 100M file (multiple levels in hash tree)
71 Files matched
72
73 # verity on sparse file
74 Files matched