diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-10-18 20:00:25 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-10-20 10:37:46 +0200 |
commit | ab25bf1f08ca605d3eb4c05619e8df495ccca30a (patch) | |
tree | 8accbe46d0857e3e25a900ec63de01980ad8ac8e /test/integration/test-apt-update-ims | |
parent | de81b2e20f80bb5f42034863a9a974c815a45da5 (diff) |
autorun permission tests for all apt-get update calls
Adds some infrastructure to run tests automatically for certain
commands. The first command being 'apt-get update' (and 'apt update')
which check for correct permission and owner of the files in lists/.
Git-Dch: Ignore
Diffstat (limited to 'test/integration/test-apt-update-ims')
-rwxr-xr-x | test/integration/test-apt-update-ims | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/integration/test-apt-update-ims b/test/integration/test-apt-update-ims index c74058c5d..6746837a4 100755 --- a/test/integration/test-apt-update-ims +++ b/test/integration/test-apt-update-ims @@ -54,7 +54,7 @@ Hit http://localhost:8080 unstable/main amd64 Packages Hit http://localhost:8080 unstable/main Translation-en Reading package lists..." -find aptarchive -name "InRelease" | xargs rm -f +find aptarchive -name 'InRelease' -delete echo "Acquire::GzipIndexes "0";" > rootdir/etc/apt/apt.conf.d/02compressindex runtest @@ -78,9 +78,8 @@ Hit http://localhost:8080 unstable/main Translation-en Reading package lists... W: The data from 'http://localhost:8080 unstable Release.gpg' is not signed. Packages from that repository can not be authenticated." -find aptarchive -name "Release.gpg" | xargs rm -f +find aptarchive -name 'Release.gpg' -delete -echo 'Acquire::AllowInsecureRepositories "1";' > rootdir/etc/apt/apt.conf.d/insecure.conf echo "Acquire::GzipIndexes "0";" > rootdir/etc/apt/apt.conf.d/02compressindex runtest |