ln: Simplify sameness checks
Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D52927
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
atf_check_same_file()
|
||||
{
|
||||
atf_check_equal "$(stat -f %d,%i "$1")" "$(stat -f %d,%i "$2")"
|
||||
atf_check test "$1" -ef "$2"
|
||||
}
|
||||
|
||||
atf_check_symlink_to()
|
||||
|
||||
Reference in New Issue
Block a user