[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is Sid for broken stuff? Is it too much to ask for testing the packages?



>   Well, you'll have the previous package in the archive (at least for
>   the common case). And this is the most useful test. The other test
>   that should be done is upgrading from the last stable version when
>   you're near the release. But perhaps that should be done in a more
>   general way (upgrading from woody to sarge)

I've got the following script written up, which should test all 
possible/probable cases:


PKGNAMES=$(ls -1 /tmp/buildd *.deb | sed 's/_.*$//' )

# install-remove check
dpkg -i /tmp/buildd/*.deb
dpkg --remove $PKGNAMES

# install-purge check
dpkg -i /tmp/buildd/*.deb
dpkg --purge $PKGNAMES

# upgrade-remove check
apt-get install $PKGNAMES || true
dpkg -i /tmp/buildd/*.deb
dpkg --remove $PKGNAMES

# upgrade-purge check
apt-get install $PKGNAMES || true
dpkg -i /tmp/buildd/*.deb
dpkg --purge $PKGNAMES



(available in pbuilder 0.53)



Reply to: