From 182186e53a38d2c8b82d0a1785f6873f2b54316a Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Mon, 18 Dec 2017 21:26:29 +0900 Subject: Do not update mtime with creating .uuid --- test/run-test.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test') diff --git a/test/run-test.sh b/test/run-test.sh index 4154dd3e..436dee17 100644 --- a/test/run-test.sh +++ b/test/run-test.sh @@ -164,6 +164,19 @@ if [ $n != 1 ]; then exit 1 fi +dotest "Keep mtime of the font directory" +prep +cp $FONT1 $FONTDIR +touch -d @0 $FONTDIR +stat $FONTDIR | grep Modify > out1 +$FCCACHE $FONTDIR +stat $FONTDIR | grep Modify > out2 +if cmp out1 out2 > /dev/null ; then : ; else + echo "*** Test failed: $TEST" + echo "mtime was modified" + exit 1 +fi + if [ x"$BWRAP" != "x" ]; then dotest "Basic functionality with the bind-mounted cache dir" prep -- cgit v1.2.3