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=eda48f271898435920fead35ac3286a6385698da;hp=48f2f94c8707caa36915bc57df3dc743adb99f0b;hpb=5f5fd9a48c4123ba41b9382ec0ae0703af736b91;p=neurodebian.git diff --git a/tools/tests/test_neurodebian-repository-deployment b/tools/tests/test_neurodebian-repository-deployment index 48f2f94..2bd99e5 100755 --- a/tools/tests/test_neurodebian-repository-deployment +++ b/tools/tests/test_neurodebian-repository-deployment @@ -20,7 +20,12 @@ 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