diff options
Diffstat (limited to 'test/integration/framework')
-rw-r--r-- | test/integration/framework | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/integration/framework b/test/integration/framework index 8ccbe7f6d..d9851a48c 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -1277,6 +1277,15 @@ pause() { read IGNORE } +listcurrentlistsdirectory() { + find rootdir/var/lib/apt/lists -maxdepth 1 -type d | while read line; do + stat --format '%U:%G:%a:%n' "$line" + done + find rootdir/var/lib/apt/lists -maxdepth 1 \! -type d | while read line; do + stat --format '%U:%G:%a:%s:%y:%n' "$line" + done +} + ### The following tests are run by most test methods automatically to check ### general things about commands executed without writing the test every time. |