owncloud-client needs rw home

Martin Pitt martin at piware.de
Mon Dec 30 16:33:06 UTC 2013


Hello Sandro,

Have your test export XDG_CONFIG_DIR inside $TMPDIR to avoid using the real home.

(Sorry for brevity, vac/tablet)

"Sandro Knauß" <bugs at sandroknauss.de> schrieb:
>Hello,
>
>in the newest version of owncloud-client (oCC) I activated the tests,
>that are 
>shipped with oCC. With my local pbuilder everything went fine (for
>amd64 and 
>i386) but with sbuild at the buildd, the tests break [1]
>
>The test, that break, wants to create an autostart file. And uses the
>standard 
>path: ~/.config/autostart/ to add there a file, but this is not allowed
>within 
>running the tests and breaks with: "Could not create autostart
>directory"
>
>$cat debian/tests/control
>Tests: make-tests
>Restrictions: build-needed
>$cat debian/tests/make-tests
>#! /bin/sh
>make tests
>
>Complete source see git repo [2]
>
>The rescriction that sounds a little bit like this "rw-build-tree" [3],
>will 
>not help 'cause the test want to create a file at the home dir and not
>at the 
>homedir. It would also help if you can point me to the correct doc. 
>
>Regards,
>
>Sandro
>
>--
>[1]
>https://buildd.debian.org/status/package.php?p=owncloud-client&suite=sid
>[2] git://git.debian.org/git/pkg-owncloud/owncloud-client.git
>[3] 
>http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests;hb=HEAD
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>autopkgtest-devel mailing list
>autopkgtest-devel at lists.alioth.debian.org
>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/autopkgtest-devel

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20131230/57fdf4bd/attachment.html>


More information about the autopkgtest-devel mailing list