Files
apfstests/tests/generic/440.out
T
Murphy Zhou d6dafbf074 common/filter: add _filter_stat
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>
2021-01-17 22:15:48 +08:00

14 lines
339 B
Plaintext

QA output created by 440
***** Parent has key, but child doesn't *****
file
subdir
symlink
cat: SCRATCH_MNT/edir/file: Required key not available
cat: SCRATCH_MNT/edir/symlink: No such file or directory
***** Child has key, but parent doesn't *****
contents
stat: cannot statx 'SCRATCH_MNT/edir/file': No such file or directory
contents