Remove the use of realpath in tests (#315)

* do not use realpath

* make the file to follow symlinks on linux
This commit is contained in:
Konstantin Zadorozhny 2023-01-06 11:56:25 -08:00 committed by GitHub
parent bf76da829c
commit b13fd20bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,4 +6,4 @@
set -o errexit -o nounset -o pipefail
file "$(realpath "$1")" | grep -q "$2"
file --dereference "$1" | grep -q "$2"