X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=tests%2Ftests-common.sh;h=59c28c6334bbc122d9b44a45d4fada56de14b45e;hb=3cabcb7e7e9777f9f084645f759d060ca5660a91;hp=c80dbefff38c75792a897fb48cf0773eeb10f2fd;hpb=08a55221fc6904ceaf4bd1c0532eb03e792d5420;p=wimlib diff --git a/tests/tests-common.sh b/tests/tests-common.sh index c80dbeff..59c28c63 100644 --- a/tests/tests-common.sh +++ b/tests/tests-common.sh @@ -1,7 +1,7 @@ srcdir="${srcdir:-.}/.." srcdir="$(cd $srcdir; pwd)" -if stat -c %i . ; then +if stat -c %i . &> /dev/null ; then BSD_STAT=0 else BSD_STAT=1