]> git.saurik.com Git - apt.git/blame - test/integration/test-apt-update-transactions
fix leftover files from Acquire::GzipIndex
[apt.git] / test / integration / test-apt-update-transactions
CommitLineData
47aca3cf
MV
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6
7setupenvironment
8configarchitecture "i386"
9
10insertpackage 'unstable' 'foo' 'all' '1.0'
11
12setupaptarchive --no-update
13changetowebserver
14
15# break package file
16cat > aptarchive/dists/unstable/main/binary-i386/Packages <<EOF
17Package: bar
18EOF
19compressfile aptarchive/dists/unstable/main/binary-i386/Packages '+1hour'
20
21# ensure that a update will only succeed entirely or not at all
22testfailure aptget update
23testequal "partial" ls rootdir/var/lib/apt/lists
2737f28a 24