summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-cdrom
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2013-03-26 14:54:31 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2013-03-26 14:54:31 +0100
commitcfe9dc32900b537986c6765972307fd9e57ece0b (patch)
treed5ad7114da5ebb0c4620b3a2711e045a9268a9fb /test/integration/test-apt-cdrom
parent55971004215609a02ca19c59bd058da20729ba11 (diff)
parentcb32348956441e33733e6bd8c2c572f19600dc25 (diff)
merge stuff from donkult
Diffstat (limited to 'test/integration/test-apt-cdrom')
-rwxr-xr-xtest/integration/test-apt-cdrom2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/test-apt-cdrom b/test/integration/test-apt-cdrom
index f24c99b36..f1c4fd9d3 100755
--- a/test/integration/test-apt-cdrom
+++ b/test/integration/test-apt-cdrom
@@ -24,6 +24,8 @@ cat Translation-de | xz --format=lzma > Translation-de.lzma
cat Translation-de | xz > Translation-de.xz
rm Translation-en Translation-de
cd - > /dev/null
+addtrap "chmod -R +w $PWD/rootdir/media/cdrom/dists/;"
+chmod -R -w rootdir/media/cdrom/dists
aptcdrom add -m -o quiet=1 > apt-cdrom.log 2>&1
sed -i -e '/^Using CD-ROM/ d' -e '/gpgv/ d' -e '/^Identifying/ d' -e '/Reading / d' apt-cdrom.log