fontconfig: Branch 'master'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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

New commits:
commit ac3c9ba95db2657b20ea149011a1de7e435cb92c
Author: Szunti <Szunti@xxxxxxxxxxxxxxxxxxxxxxxx>
Date:   Tue Dec 8 14:26:25 2020 +0100

    Fix locale dependent behaviour in
    '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/ b/test/
index 69302ae..a46e9a7 100644
--- a/test/
+++ b/test/
@@ -155,9 +155,9 @@ dotest "Keep mtime of the font directory"
 cp "$FONT1" "$FONTDIR"
 touch -d @0 "$FONTDIR"
-stat "$FONTDIR" | grep Modify > out1
+stat -c '%y' "$FONTDIR" > out1
-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"
Fontconfig mailing list

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux