"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/integration/test-apt-get-install-deb" between
apt-2.2.3.tar.gz and apt-2.2.4.tar.gz

About: Apt (Advanced Package Tool) is a management system for software packages (Debian/Ubuntu). Release series 2.2.

test-apt-get-install-deb  (apt-2.2.3):test-apt-get-install-deb  (apt-2.2.4)
skipping to change at line 212 skipping to change at line 212
sed -i -e '/^Depends: foo/ d' rootdir/var/lib/dpkg/status sed -i -e '/^Depends: foo/ d' rootdir/var/lib/dpkg/status
testsuccess aptget install -y ./incoming/pkg-as-it-should-be_0_all.deb testsuccess aptget install -y ./incoming/pkg-as-it-should-be_0_all.deb
testfailure grep 'is already the newest version' rootdir/tmp/testsuccess.output testfailure grep 'is already the newest version' rootdir/tmp/testsuccess.output
testsuccess apt purge -y pkg-as-it-should-be testsuccess apt purge -y pkg-as-it-should-be
echo "Package: pkg-as-it-should-be echo "Package: pkg-as-it-should-be
Architecture: all Architecture: all
Version: 0 Version: 0
Installed-Size: 2903 Installed-Size: 2903
Filename: incoming/pkg-as-it-should-be_0_all.deb Filename: incoming/pkg-as-it-should-be_0%3a0+0_all.deb
Size: $(stat -c %s incoming/pkg-as-it-should-be_0_all.deb) Size: $(stat -c %s incoming/pkg-as-it-should-be_0_all.deb)
SHA256: $(sha256sum incoming/pkg-as-it-should-be_0_all.deb | cut -d' ' -f 1) SHA256: $(sha256sum incoming/pkg-as-it-should-be_0_all.deb | cut -d' ' -f 1)
" > Packages " > Packages
ln -s pkg-as-it-should-be_0_all.deb incoming/pkg-as-it-should-be_0%3a0+0_all.deb
testdpkgnotinstalled 'pkg-as-it-should-be' testdpkgnotinstalled 'pkg-as-it-should-be'
testnopackage pkg-as-it-should-be testnopackage pkg-as-it-should-be
testsuccess apt install --with-source ./Packages pkg-as-it-should-be -s testsuccess apt install --with-source ./Packages pkg-as-it-should-be -s
testsuccess apt install --with-source ./Packages pkg-as-it-should-be --print-uri s testsuccess apt install --with-source ./Packages pkg-as-it-should-be --print-uri s
testsuccess apt show --with-source ./Packages pkg-as-it-should-be testsuccess apt show --with-source ./Packages pkg-as-it-should-be
testequal 'Package: pkg-as-it-should-be' head -n1 rootdir/tmp/testsuccess.output testequal 'Package: pkg-as-it-should-be' head -n1 rootdir/tmp/testsuccess.output
testsuccess apt install -y --with-source ./Packages pkg-as-it-should-be testsuccess apt install -y --with-source ./Packages pkg-as-it-should-be -o Debug ::pkgAcquire::Worker=1
testdpkginstalled 'pkg-as-it-should-be' testdpkginstalled 'pkg-as-it-should-be'
rm -f ./Packages rm -f ./Packages
echo 'dpkg::install::recursive "true"; echo 'dpkg::install::recursive "true";
dpkg::install::recursive::force "true"; dpkg::install::recursive::force "true";
dpkg::install::recursive::minimum "0";' > rootdir/etc/apt/apt.conf.d/lowerminimu m.conf dpkg::install::recursive::minimum "0";' > rootdir/etc/apt/apt.conf.d/lowerminimu m.conf
mv ./incoming/pkg-as-it-should-be_0_all.deb ./incoming/pkg-as-it-should-be_0_all mv ./incoming/pkg-as-it-should-be_0_all.deb ./incoming/pkg-as-it-should-be_0%3a0
.ddeb +0_all.ddeb
testsuccess aptget install -y ./incoming/pkg-as-it-should-be_0_all.ddeb --reinst testsuccess aptget install -y ./incoming/pkg-as-it-should-be_0%3a0+0_all.ddeb --
all reinstall
testfailure grep 'is already the newest version' rootdir/tmp/testsuccess.output testfailure grep 'is already the newest version' rootdir/tmp/testsuccess.output
testsuccess apt purge -y pkg-as-it-should-be testsuccess apt purge -y pkg-as-it-should-be
testdpkgnotinstalled 'pkg-as-it-should-be' testdpkgnotinstalled 'pkg-as-it-should-be'
mv ./incoming/pkg-as-it-should-be_0_all.ddeb ./incoming/pkg-as-it-should-be_0_al l.foobar mv ./incoming/pkg-as-it-should-be_0%3a0+0_all.ddeb ./incoming/pkg-as-it-should-b e_0_all.foobar
echo "Package: pkg-as-it-should-be echo "Package: pkg-as-it-should-be
Architecture: all Architecture: all
Version: 0 Version: 0
Installed-Size: 2903 Installed-Size: 2903
Filename: incoming/pkg-as-it-should-be_0_all.foobar Filename: incoming/pkg-as-it-should-be_0_all.foobar
Size: $(stat -c %s incoming/pkg-as-it-should-be_0_all.foobar) Size: $(stat -c %s incoming/pkg-as-it-should-be_0_all.foobar)
SHA256: $(sha256sum incoming/pkg-as-it-should-be_0_all.foobar | cut -d' ' -f 1) SHA256: $(sha256sum incoming/pkg-as-it-should-be_0_all.foobar | cut -d' ' -f 1)
" | gzip > Packages.gz " | gzip > Packages.gz
testsuccess apt install --with-source ./Packages.gz pkg-as-it-should-be -s testsuccess apt install --with-source ./Packages.gz pkg-as-it-should-be -s
testsuccess apt install --with-source ./Packages.gz pkg-as-it-should-be --print- uris testsuccess apt install --with-source ./Packages.gz pkg-as-it-should-be --print- uris
 End of changes. 5 change blocks. 
7 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)