summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-update-transactions
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-11-09 21:26:20 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-11-09 21:45:55 +0100
commit546dbfc82ad9ff0308b365bca3731a1118b1d251 (patch)
tree75ef25ce0789bfb68ab737dfa611461e54234c88 /test/integration/test-apt-update-transactions
parent7e04a6bf23d857db60afd2ec3d0f4a8271b1c597 (diff)
disable the lock disabling in the tests
We create our own directories here and work without root in them, so we can also test the locking with them as it is how we usually operate. Git-Dch: Ignore
Diffstat (limited to 'test/integration/test-apt-update-transactions')
-rwxr-xr-xtest/integration/test-apt-update-transactions1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/test-apt-update-transactions b/test/integration/test-apt-update-transactions
index fe352c762..bf425a22e 100755
--- a/test/integration/test-apt-update-transactions
+++ b/test/integration/test-apt-update-transactions
@@ -49,6 +49,7 @@ testsetup() {
msgmsg 'Test with no initial data over' "$1"
rm -rf rootdir/var/lib/apt/lists
mkdir -m 700 -p rootdir/var/lib/apt/lists/partial
+ touch rootdir/var/lib/apt/lists/lock
if [ "$(id -u)" = '0' ]; then
chown _apt:root rootdir/var/lib/apt/lists/partial
fi