[Fontconfig] fontconfig: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Dec 10 05:26:30 UTC 2020


 test/run-test.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ac3c9ba95db2657b20ea149011a1de7e435cb92c
Author: Szunti <Szunti at users.noreply.github.com>
Date:   Tue Dec 8 14:26:25 2020 +0100

    Fix locale dependent behaviour in run-test.sh
    
    'stat ... | grep Modify' fails on non english locales. stat -c '%y'
    used in most of the places, but one exception remained.

diff --git a/test/run-test.sh b/test/run-test.sh
index 69302ae..a46e9a7 100644
--- a/test/run-test.sh
+++ b/test/run-test.sh
@@ -155,9 +155,9 @@ dotest "Keep mtime of the font directory"
 prep
 cp "$FONT1" "$FONTDIR"
 touch -d @0 "$FONTDIR"
-stat "$FONTDIR" | grep Modify > out1
+stat -c '%y' "$FONTDIR" > out1
 $FCCACHE "$FONTDIR"
-stat "$FONTDIR" | grep Modify > out2
+stat -c '%y' "$FONTDIR" > out2
 if cmp out1 out2 > /dev/null ; then : ; else
     echo "*** Test failed: $TEST"
     echo "mtime was modified"


More information about the Fontconfig mailing list