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-transactions | |
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-transactions')
-rwxr-xr-x | test/integration/test-apt-update-transactions | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/integration/test-apt-update-transactions b/test/integration/test-apt-update-transactions index 2d5d9e721..2fc5f1dad 100755 --- a/test/integration/test-apt-update-transactions +++ b/test/integration/test-apt-update-transactions @@ -27,11 +27,6 @@ restorefile() { listscheck() { testequal "$(cat $1)" ls rootdir/var/lib/apt/lists - # all copied files are properly chmodded - find rootdir/var/lib/apt/lists -maxdepth 1 -type f | while read file; do - testaccessrights "$file" '644' - testfilestats "$file" '%U' '!=' '_apt' - done } testrun() { |