mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
d6dafbf074
Since coreutils upstream v8.32~47 commit a99ab266110795ed94a9cb4d2765ddad9c4310da Author: Jeff Layton <jlayton@kernel.org> Date: Thu Sep 19 11:59:45 2019 -0400 ls: use statx instead of stat when available stat(1) starts to use statx(2) call. In some testcase, if file does not exist, this breaks golden output like this: -stat: cannot stat 'SCRATCH_MNT/xxx': No such file or directory +stat: cannot statx 'SCRATCH_MNT/xxx': No such file or directory Add this filter to fix it, and add this filter to testcases that need it. Signed-off-by: Murphy Zhou <jencce.kernel@gmail.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
361 lines
15 KiB
Plaintext
361 lines
15 KiB
Plaintext
QA output created by 348
|
|
===== Find inode by file type:
|
|
dt=1 => FIFO_INO
|
|
dt=2 => CHRDEV_INO
|
|
dt=4 => DIR_INO
|
|
dt=6 => BLKDEV_INO
|
|
dt=10 => DATA_INO
|
|
dt=10 => EMPTY_INO
|
|
dt=12 => SYMLINK_INO
|
|
|
|
===== Setting dt=0 to all files:
|
|
core.mode = 0644
|
|
core.mode = 0644
|
|
core.mode = 0644
|
|
core.mode = 0644
|
|
core.mode = 0644
|
|
core.mode = 0644
|
|
core.mode = 0644
|
|
would have junked entry "BLKDEV" in directory PARENT_INO
|
|
would have junked entry "CHRDEV" in directory PARENT_INO
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "FIFO" in directory PARENT_INO
|
|
would have junked entry "SYMLINK" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/DATA': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/CHRDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/BLKDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/FIFO': Structure needs cleaning
|
|
|
|
===== Setting dt=1 to all files:
|
|
core.mode = 010644
|
|
core.mode = 010644
|
|
core.mode = 010644
|
|
core.mode = 010644
|
|
core.mode = 010644
|
|
core.mode = 010644
|
|
core.mode = 010644
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "SYMLINK" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/DATA': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: 'SCRATCH_MNT/test/CHRDEV' is a fifo
|
|
stat: 'SCRATCH_MNT/test/BLKDEV' is a fifo
|
|
stat: 'SCRATCH_MNT/test/FIFO' is a fifo
|
|
|
|
===== Setting dt=2 to all files:
|
|
core.mode = 020644
|
|
core.mode = 020644
|
|
core.mode = 020644
|
|
core.mode = 020644
|
|
core.mode = 020644
|
|
core.mode = 020644
|
|
core.mode = 020644
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "SYMLINK" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/DATA': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: 'SCRATCH_MNT/test/CHRDEV' is a character special file
|
|
stat: 'SCRATCH_MNT/test/BLKDEV' is a character special file
|
|
stat: 'SCRATCH_MNT/test/FIFO' is a character special file
|
|
|
|
===== Setting dt=3 to all files:
|
|
core.mode = 030644
|
|
core.mode = 030644
|
|
core.mode = 030644
|
|
core.mode = 030644
|
|
core.mode = 030644
|
|
core.mode = 030644
|
|
core.mode = 030644
|
|
would have junked entry "BLKDEV" in directory PARENT_INO
|
|
would have junked entry "CHRDEV" in directory PARENT_INO
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "FIFO" in directory PARENT_INO
|
|
would have junked entry "SYMLINK" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/DATA': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/CHRDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/BLKDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/FIFO': Structure needs cleaning
|
|
|
|
===== Setting dt=4 to all files:
|
|
core.mode = 040644
|
|
core.mode = 040644
|
|
core.mode = 040644
|
|
core.mode = 040644
|
|
core.mode = 040644
|
|
core.mode = 040644
|
|
core.mode = 040644
|
|
would have junked entry "BLKDEV" in directory PARENT_INO
|
|
would have junked entry "CHRDEV" in directory PARENT_INO
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "FIFO" in directory PARENT_INO
|
|
stat: 'SCRATCH_MNT/test/DIR' is a directory
|
|
stat: 'SCRATCH_MNT/test/DATA' is a directory
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/CHRDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/BLKDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/FIFO': Structure needs cleaning
|
|
|
|
===== Setting dt=5 to all files:
|
|
core.mode = 050644
|
|
core.mode = 050644
|
|
core.mode = 050644
|
|
core.mode = 050644
|
|
core.mode = 050644
|
|
core.mode = 050644
|
|
core.mode = 050644
|
|
would have junked entry "BLKDEV" in directory PARENT_INO
|
|
would have junked entry "CHRDEV" in directory PARENT_INO
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "FIFO" in directory PARENT_INO
|
|
would have junked entry "SYMLINK" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/DATA': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/CHRDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/BLKDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/FIFO': Structure needs cleaning
|
|
|
|
===== Setting dt=6 to all files:
|
|
core.mode = 060644
|
|
core.mode = 060644
|
|
core.mode = 060644
|
|
core.mode = 060644
|
|
core.mode = 060644
|
|
core.mode = 060644
|
|
core.mode = 060644
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "SYMLINK" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/DATA': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: 'SCRATCH_MNT/test/CHRDEV' is a block special file
|
|
stat: 'SCRATCH_MNT/test/BLKDEV' is a block special file
|
|
stat: 'SCRATCH_MNT/test/FIFO' is a block special file
|
|
|
|
===== Setting dt=7 to all files:
|
|
core.mode = 070644
|
|
core.mode = 070644
|
|
core.mode = 070644
|
|
core.mode = 070644
|
|
core.mode = 070644
|
|
core.mode = 070644
|
|
core.mode = 070644
|
|
would have junked entry "BLKDEV" in directory PARENT_INO
|
|
would have junked entry "CHRDEV" in directory PARENT_INO
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "FIFO" in directory PARENT_INO
|
|
would have junked entry "SYMLINK" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/DATA': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/CHRDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/BLKDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/FIFO': Structure needs cleaning
|
|
|
|
===== Setting dt=10 to all files:
|
|
core.mode = 0100644
|
|
core.mode = 0100644
|
|
core.mode = 0100644
|
|
core.mode = 0100644
|
|
core.mode = 0100644
|
|
core.mode = 0100644
|
|
core.mode = 0100644
|
|
would have junked entry "BLKDEV" in directory PARENT_INO
|
|
would have junked entry "CHRDEV" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "FIFO" in directory PARENT_INO
|
|
would have junked entry "SYMLINK" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: 'SCRATCH_MNT/test/DATA' is a regular file
|
|
stat: 'SCRATCH_MNT/test/EMPTY' is a regular empty file
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/CHRDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/BLKDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/FIFO': Structure needs cleaning
|
|
|
|
===== Setting dt=11 to all files:
|
|
core.mode = 0110644
|
|
core.mode = 0110644
|
|
core.mode = 0110644
|
|
core.mode = 0110644
|
|
core.mode = 0110644
|
|
core.mode = 0110644
|
|
core.mode = 0110644
|
|
would have junked entry "BLKDEV" in directory PARENT_INO
|
|
would have junked entry "CHRDEV" in directory PARENT_INO
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "FIFO" in directory PARENT_INO
|
|
would have junked entry "SYMLINK" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/DATA': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/CHRDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/BLKDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/FIFO': Structure needs cleaning
|
|
|
|
===== Setting dt=12 to all files:
|
|
core.mode = 0120644
|
|
core.mode = 0120644
|
|
core.mode = 0120644
|
|
core.mode = 0120644
|
|
core.mode = 0120644
|
|
core.mode = 0120644
|
|
core.mode = 0120644
|
|
would have junked entry "BLKDEV" in directory PARENT_INO
|
|
would have junked entry "CHRDEV" in directory PARENT_INO
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "FIFO" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: 'SCRATCH_MNT/test/DATA' is a symbolic link
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: 'SCRATCH_MNT/test/SYMLINK' is a symbolic link
|
|
stat: cannot statx 'SCRATCH_MNT/test/CHRDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/BLKDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/FIFO': Structure needs cleaning
|
|
|
|
===== Setting dt=13 to all files:
|
|
core.mode = 0130644
|
|
core.mode = 0130644
|
|
core.mode = 0130644
|
|
core.mode = 0130644
|
|
core.mode = 0130644
|
|
core.mode = 0130644
|
|
core.mode = 0130644
|
|
would have junked entry "BLKDEV" in directory PARENT_INO
|
|
would have junked entry "CHRDEV" in directory PARENT_INO
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "FIFO" in directory PARENT_INO
|
|
would have junked entry "SYMLINK" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/DATA': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/CHRDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/BLKDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/FIFO': Structure needs cleaning
|
|
|
|
===== Setting dt=14 to all files:
|
|
core.mode = 0140644
|
|
core.mode = 0140644
|
|
core.mode = 0140644
|
|
core.mode = 0140644
|
|
core.mode = 0140644
|
|
core.mode = 0140644
|
|
core.mode = 0140644
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "SYMLINK" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/DATA': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: 'SCRATCH_MNT/test/CHRDEV' is a socket
|
|
stat: 'SCRATCH_MNT/test/BLKDEV' is a socket
|
|
stat: 'SCRATCH_MNT/test/FIFO' is a socket
|
|
|
|
===== Setting dt=15 to all files:
|
|
core.mode = 0150644
|
|
core.mode = 0150644
|
|
core.mode = 0150644
|
|
core.mode = 0150644
|
|
core.mode = 0150644
|
|
core.mode = 0150644
|
|
core.mode = 0150644
|
|
would have junked entry "BLKDEV" in directory PARENT_INO
|
|
would have junked entry "CHRDEV" in directory PARENT_INO
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "FIFO" in directory PARENT_INO
|
|
would have junked entry "SYMLINK" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/DATA': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/CHRDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/BLKDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/FIFO': Structure needs cleaning
|
|
|
|
===== Setting dt=16 to all files:
|
|
core.mode = 0160644
|
|
core.mode = 0160644
|
|
core.mode = 0160644
|
|
core.mode = 0160644
|
|
core.mode = 0160644
|
|
core.mode = 0160644
|
|
core.mode = 0160644
|
|
would have junked entry "BLKDEV" in directory PARENT_INO
|
|
would have junked entry "CHRDEV" in directory PARENT_INO
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "FIFO" in directory PARENT_INO
|
|
would have junked entry "SYMLINK" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/DATA': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/CHRDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/BLKDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/FIFO': Structure needs cleaning
|
|
|
|
===== Setting dt=17 to all files:
|
|
core.mode = 0170644
|
|
core.mode = 0170644
|
|
core.mode = 0170644
|
|
core.mode = 0170644
|
|
core.mode = 0170644
|
|
core.mode = 0170644
|
|
core.mode = 0170644
|
|
would have junked entry "BLKDEV" in directory PARENT_INO
|
|
would have junked entry "CHRDEV" in directory PARENT_INO
|
|
would have junked entry "DATA" in directory PARENT_INO
|
|
would have junked entry "DIR" in directory PARENT_INO
|
|
would have junked entry "EMPTY" in directory PARENT_INO
|
|
would have junked entry "FIFO" in directory PARENT_INO
|
|
would have junked entry "SYMLINK" in directory PARENT_INO
|
|
stat: cannot statx 'SCRATCH_MNT/test/DIR': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/DATA': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/EMPTY': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/SYMLINK': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/CHRDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/BLKDEV': Structure needs cleaning
|
|
stat: cannot statx 'SCRATCH_MNT/test/FIFO': Structure needs cleaning
|