From 46e8dfe884a5729b8958f5701e7f09bfb3dd34a4 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Wed, 5 Jul 2023 14:07:57 -0400 Subject: [PATCH] Account for coreutils using statx() call instead of stat() `stat` internally switched to using the new `statx` syscall, and this affects the output of perror() subsequently. This is the same error as before (and expected). Signed-off-by: Auke Kok --- tests/tests/inode-deletion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests/inode-deletion.sh b/tests/tests/inode-deletion.sh index 5af97354..9324d035 100644 --- a/tests/tests/inode-deletion.sh +++ b/tests/tests/inode-deletion.sh @@ -72,7 +72,7 @@ check_ino_index "$ino" "$dseq" "$T_M0" check_ino_index "$ino" "$dseq" "$T_M1" exec {FD}>&- # close # we know that revalidating will unhash the remote dentry -stat "$T_D0/file" 2>&1 | t_filter_fs +stat "$T_D0/file" 2>&1 | sed 's/cannot statx/cannot stat/' | t_filter_fs check_ino_index "$ino" "$dseq" "$T_M0" check_ino_index "$ino" "$dseq" "$T_M1"