[Pkg-owncloud-maintainers] owncloud-client needs rw home
- Subject: [Pkg-owncloud-maintainers] owncloud-client needs rw home
- From: bugs@sandroknauss.de (Sandro Knauß)
- Date: Wed, 01 Jan 2014 18:46:04 +0100
- Message-id: <[🔎] 57862558.M9sAUZvAkW@tabin.local>
- In-reply-to: <d492a055-eb7b-48a2-8d96-409149e49ca0@email.android.com>
- References: <2975844.9ToPOdc3F4@tabin.local> <d492a055-eb7b-48a2-8d96-409149e49ca0@email.android.com>
Hey,
thx for the hint with XDG_CONFIG_DIR. oCC doesn't respect XDG_CONFIG_DIR but I
wrote a patch for that. Now the tests run successfully.
Regads,
sandro
--
On Monday 30 December 2013 17:33:06 Martin Pitt wrote:
> 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_plai
> >n;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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20140101/95d1531b/attachment.sig>
Reply to: