On Mon, 22 Aug 2011, Sven Joachim wrote:
> Thanks, this was very helpful indeed.  After reading that, the only
> pitfall I fell in was that git does not preserve hardlinks, so I needed
> to handle that in build-hook/clean-hook targets.

Right, I just noticed/remembered that we have t-unpack-hardlink already...
can you merge your test in that one?

It already tests hardlinks on various type of files, you'd just add a
test-conffile-link{0,1} and mark test-conffile-link{0,1} as conffiles.

> The testcase in the attached patch slightly differs from the original
> one in that the hardlink is not marked as a conffile itself.  This makes
> no real difference when freshly installing the package, but on upgrades
> the hardlink will be broken (since unchanged conffiles are not
> replaced).

Yes, that doesn't matter at all for the purpose of this test at least.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to