]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-get-download
do not use _apt for file/copy sources if it isn't world-accessible
[apt.git] / test / integration / test-apt-get-download
index 5c42c7e3cd2cc2efba9b0b531e9593e4838cf9b1..3ad3b395de8709a22cd00366cde21656a6472237 100755 (executable)
@@ -30,14 +30,8 @@ find aptarchive/dists -name '*Release*' -type f | while read file; do
        testaccessrights "$file" '640'
 done
 if [ "$(id -u)" = '0' ]; then
-       # permission errors an everything
-       testfailure aptget update
-
-       find aptarchive/dists -name '*Packages*' -type f | while read file; do
-               chmod 777 "$file"
-       done
-       # permission errors on Release
-       testwarning aptget update
+       # Release file can't be accessed by _apt
+       testsuccesswithnotice aptget update -q=0
 fi
 
 #everything (too) permissive