43 lines
1.5 KiB
Diff
43 lines
1.5 KiB
Diff
|
|
Reference:https://src.fedoraproject.org/rpms/fontconfig/blob/rawhide/f/fontconfig-disable-network-required-test.patch
|
||
|
|
---
|
||
|
|
test/run-test.sh | 22 +++++++++++-----------
|
||
|
|
1 file changed, 11 insertions(+), 11 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/test/run-test.sh b/test/run-test.sh
|
||
|
|
index 34d9fc0..1807298 100644
|
||
|
|
--- a/test/run-test.sh
|
||
|
|
+++ b/test/run-test.sh
|
||
|
|
@@ -421,18 +421,18 @@ rm -rf "$MYCACHEBASEDIR" "$MYCONFIG" my-fonts.conf my-out my-out.expected
|
||
|
|
|
||
|
|
fi # if [ "x$EXEEXT" = "x" ]
|
||
|
|
|
||
|
|
-if [ -x "$BUILDTESTDIR"/test-crbug1004254 ]; then
|
||
|
|
- dotest "MT-safe global config"
|
||
|
|
- prep
|
||
|
|
- curl -s -o "$FONTDIR"/noto.zip https://noto-website-2.storage.googleapis.com/pkgs/NotoSans-hinted.zip
|
||
|
|
- (cd "$FONTDIR"; unzip noto.zip)
|
||
|
|
- if [ -n "${SOURCE_DATE_EPOCH:-}" ] && [ ${#SOURCE_DATE_EPOCH} -gt 0 ]; then
|
||
|
|
- touch -m -t "$(date -d @"${SOURCE_DATE_EPOCH}" +%y%m%d%H%M.%S)" "$FONTDIR"
|
||
|
|
- fi
|
||
|
|
- "$BUILDTESTDIR"/test-crbug1004254
|
||
|
|
-else
|
||
|
|
+#if [ -x "$BUILDTESTDIR"/test-crbug1004254 ]; then
|
||
|
|
+# dotest "MT-safe global config"
|
||
|
|
+# prep
|
||
|
|
+# curl -s -o "$FONTDIR"/noto.zip https://noto-website-2.storage.googleapis.com/pkgs/NotoSans-hinted.zip
|
||
|
|
+# (cd "$FONTDIR"; unzip noto.zip)
|
||
|
|
+# if [ -n "${SOURCE_DATE_EPOCH:-}" ] && [ ${#SOURCE_DATE_EPOCH} -gt 0 ]; then
|
||
|
|
+# touch -m -t "$(date -d @"${SOURCE_DATE_EPOCH}" +%y%m%d%H%M.%S)" "$FONTDIR"
|
||
|
|
+# fi
|
||
|
|
+# "$BUILDTESTDIR"/test-crbug1004254
|
||
|
|
+#else
|
||
|
|
echo "No test-crbug1004254: skipped"
|
||
|
|
-fi
|
||
|
|
+#fi
|
||
|
|
|
||
|
|
if [ "x$EXEEXT" = "x" ]; then
|
||
|
|
|
||
|
|
--
|
||
|
|
2.27.0
|
||
|
|
|