test/run-test.sh | 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 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" _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig