From ab25bf1f08ca605d3eb4c05619e8df495ccca30a Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 18 Oct 2014 20:00:25 +0200 Subject: 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 --- test/integration/test-apt-update-transactions | 5 ----- 1 file changed, 5 deletions(-) (limited to 'test/integration/test-apt-update-transactions') 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() { -- cgit v1.2.3