]>
git.saurik.com Git - apt.git/blob - test/integration/test-apt-update-empty-files
4 TESTDIR
="$(readlink -f "$(dirname "$0")")"
8 configarchitecture 'amd64'
9 configcompression '.' 'gz'
11 insertpackage 'unstable' 'apt' 'amd64' '1'
12 # this automatically gives us an empty Sources file
14 setupaptarchive --no-update
16 msgmsg 'Test with file'
17 rm -rf rootdir/var/lib/apt/lists
18 testsuccess apt update -o Debug::pkgAcquire::Worker=1
19 cp rootdir/tmp/testsuccess.output apt.output
20 testsuccess grep '%0aAlt-Filename:%20/.*/Sources%0a' apt.output
22 msgmsg 'Test with http'
24 rm -rf rootdir/var/lib/apt/lists
25 testsuccess apt update -o Debug::pkgAcquire::Worker=1