]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-cdrom
use the same code to detect quiet setting in all tools
[apt.git] / test / integration / test-apt-cdrom
index 4489143e4f9d2c892535359601edbc545aa481b7..3a33219fe166ec2b41c6600730c27ee25b9ae20a 100755 (executable)
@@ -21,7 +21,7 @@ echo 'Description-de: automatisch generiertes Testpaket testing=0.8.15/stable
 ' >> Translation-de
 compressfile Translation-de
 rm -f Translation-en Translation-de
-chmod -R -w .
+chmod -R 555 .
 cd - > /dev/null
 
 aptcdromlog() {
@@ -144,3 +144,8 @@ testcdromusage
 testsuccess aptget update
 testfileequal rootdir/tmp/testsuccess.output 'Reading package lists...'
 testcdromusage
+
+msgmsg 'Check that nothing touched our' 'CD-ROM'
+for file in $(find rootdir/media/cdrom-unmounted/dists); do
+       testfilestats "$file" '%U:%G:%a' '=' "${USER}:${USER}:555"
+done