4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'amd64'
9 mkdir aptarchive
/testpkg
12 for i
in $(seq 98 102); do
13 touch "$(printf "%0${i}d" "$i")"
15 tar zcf data.
tar.gz
00*
17 echo 'Package: testpkg
20 Maintainer: Joe Sixpack <joe@example.org>
21 Description: Package for test
23 Priority: extra' > control
24 tar zcf control.
tar.gz control
26 echo '2.0' > debian
-binary
27 ar cr ..
/testpkg.deb debian
-binary control.
tar.gz data.
tar.gz
31 testsuccessequal
'000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000102 testpkg
32 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101 testpkg
33 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100 testpkg
34 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000099 testpkg
35 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000098 testpkg' aptftparchive contents aptarchive
/