When there is a broken symbolic link file under $here directory, the diff between the source directory and the target directory will output something like: "diff: /path/xxx/yyy: No such file or directory", and the test case will fail. To fix it, we should use "--no-dereference" option of diff command to only compare the values of the symbolic links. Signed-off-by: Hou Tao <houtao1@xxxxxxxxxx> --- tests/xfs/073 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xfs/073 b/tests/xfs/073 index 7228dd9..ddd462b 100755 --- a/tests/xfs/073 +++ b/tests/xfs/073 @@ -98,7 +98,7 @@ _verify_copy() fi echo comparing new image files to old - diff -Naur $source_dir $target_dir + diff -Naur --no-dereference $source_dir $target_dir echo comparing new image directories to old find $source_dir | _filter_path $source_dir > $tmp.manifest1 -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html