[arch-commits] Commit in nextcloud-client/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Fri Jun 18 18:21:38 UTC 2021


    Date: Friday, June 18, 2021 @ 18:21:38
  Author: yan12125
Revision: 965180

nextcloud-client: fix test failure under certain scenarios

Modified:
  nextcloud-client/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-18 17:18:12 UTC (rev 965179)
+++ PKGBUILD	2021-06-18 18:21:38 UTC (rev 965180)
@@ -59,7 +59,9 @@
 
   # Tests fail if $TMPDIR is too small; specify an alternative for machines
   # with a small /tmp partition.
-  TMPDIR="$srcdir/tmpdir" ARGS="--rerun-failed --output-on-failure" make test
+  # Use UTC as TestCookies is sensitive to the timezone
+  # https://github.com/nextcloud/desktop/blob/v3.2.2/test/testcookies.cpp#L24
+  TMPDIR="$srcdir/tmpdir" TZ=UTC ARGS="--rerun-failed --output-on-failure" make test
 }
 
 package_nextcloud-client() {



More information about the arch-commits mailing list