X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tools%2Ftests%2Ftest_neurodebian-repository-deployment;fp=tools%2Ftests%2Ftest_neurodebian-repository-deployment;h=2bd99e555dde7c9a61523eebea27a3837aa2c977;hb=441723d6edfc6b868be27bfa4ad63dc7a2fefdb8;hp=690041701e6b11a2f9377d9c00becd8a75fd2bb0;hpb=6c6fa9cd3bd627a60f165682f96af3cc06d9ccc9;p=neurodebian.git diff --git a/tools/tests/test_neurodebian-repository-deployment b/tools/tests/test_neurodebian-repository-deployment index 6900417..2bd99e5 100755 --- a/tools/tests/test_neurodebian-repository-deployment +++ b/tools/tests/test_neurodebian-repository-deployment @@ -6,21 +6,26 @@ apt_file=/etc/apt/sources.list.d/local.list apt_nd_file=/etc/apt/sources.list.d/neurodebian.sources.list # clean up from a previous test -dpkg --purge neurodebian neurodebian-keyring || : +dpkg --purge neurodebian neurodebian-archive-keyring || : echo PURGE | debconf-communicate neurodebian || : rm -rf /tmp/apt $apt_file; mkdir -p /tmp/apt; cd /tmp/apt; rm -f neurodebian-*deb; apt-get update -y; apt-get install -y wget; -wget http://www.onerussian.com/tmp/neurodebian_0.33~a1_all.deb; -wget http://www.onerussian.com/tmp/neurodebian-keyring_0.33~a1_all.deb; +wget http://www.onerussian.com/tmp/neurodebian_0.34_all.deb; +wget http://www.onerussian.com/tmp/neurodebian-archive-keyring_0.34_all.deb; # generate APT repo apt-get install -y dpkg-dev ; dpkg-scanpackages . /dev/null > Packages # Add it to the list of available echo "deb file:///tmp/apt ./" >| $apt_file; apt-get update # Install the beast -apt-get install -y --allow-unauthenticated neurodebian +DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated neurodebian +# By default should not get enabled +[ ! -e "$apt_nd_file" ] + +DEBIAN_FRONTEND=noninteractive NEURODEBIAN_ENABLE=yes apt-get install -y --allow-unauthenticated --reinstall neurodebian + # Verify that it has correct entries # Very cruel way to figure out the default release. Would fail if # options, such as multiarch, are specified after deb