summaryrefslogtreecommitdiff
path: root/test/local-repo
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-08-09 12:34:46 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2007-08-09 12:34:46 +0200
commit9152d475de2c65d144fc3008043244d4622e136d (patch)
treea2cc18d5e00a90dac603ea64c96338c2b73cf596 /test/local-repo
parent73eb1788912790f19d42d8c95b98fcb5760fbbdf (diff)
parent5177f8024b512f1dca86aaececc5fbc708948ad4 (diff)
* apt-pkg/acquire-item.cc:
- fix file removal on local repo i-m-s hit (LP: #131166) * tests/local-repo: - added regression test for this bug * apt-pkg/pkgcachegen.cc: - increase default mmap size * tests/local-repo: - added local repository testcase
Diffstat (limited to 'test/local-repo')
-rw-r--r--test/local-repo/Packages11
-rw-r--r--test/local-repo/Packages.gzbin0 -> 269 bytes
-rw-r--r--test/local-repo/Packages.gz.savebin0 -> 603 bytes
-rw-r--r--test/local-repo/Release13
-rw-r--r--test/local-repo/Release.gpg7
-rw-r--r--test/local-repo/gdebi-test4.debbin0 -> 2306 bytes
6 files changed, 31 insertions, 0 deletions
diff --git a/test/local-repo/Packages b/test/local-repo/Packages
new file mode 100644
index 000000000..fe62fc038
--- /dev/null
+++ b/test/local-repo/Packages
@@ -0,0 +1,11 @@
+Package: gdebi-test4
+Architecture: all
+Version: 1.0
+Conflicts: apt (<= 0.1)
+Filename: ./gdebi-test4.deb
+Size: 2306
+MD5sum: 0952a2b4a566215e0794c7603f3fcfcc
+SHA1: 318688ea2d53352a1bdb669ebd2cd4847f6c4e7c
+SHA256: 35f600b57253cef807a1da7c5deb06e7821de9223842a310a77b4da87cf51e2c
+Description: testpackage for gdebi - Conflicts: apt (<= 0.1)
+
diff --git a/test/local-repo/Packages.gz b/test/local-repo/Packages.gz
new file mode 100644
index 000000000..b5d528435
--- /dev/null
+++ b/test/local-repo/Packages.gz
Binary files differ
diff --git a/test/local-repo/Packages.gz.save b/test/local-repo/Packages.gz.save
new file mode 100644
index 000000000..c73f56395
--- /dev/null
+++ b/test/local-repo/Packages.gz.save
Binary files differ
diff --git a/test/local-repo/Release b/test/local-repo/Release
new file mode 100644
index 000000000..7f206ef25
--- /dev/null
+++ b/test/local-repo/Release
@@ -0,0 +1,13 @@
+Date: Thu, 09 Aug 2007 10:13:06 UTC
+MD5Sum:
+ 29f79161fafe1f0c393e7fc6ddcb99b5 338 Packages
+ 2f885b2ebdb77d3354ba63d8b5aad614 269 Packages.gz
+ d41d8cd98f00b204e9800998ecf8427e 0 Release
+SHA1:
+ d8860d409a8b0db443fbf254e2d6afbfc9bc04a8 338 Packages
+ 8b668a7b730ceb4d702737a13a723959c20b67df 269 Packages.gz
+ da39a3ee5e6b4b0d3255bfef95601890afd80709 0 Release
+SHA256:
+ 39aa9fc59d868a71030d24aeaa4b574d7a11a10ea79491a0881f8d755b36a06d 338 Packages
+ 62898623498ebf8304647db1ba2d33e4d8ec0e3e45250c2b66907c812b099297 269 Packages.gz
+ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 Release
diff --git a/test/local-repo/Release.gpg b/test/local-repo/Release.gpg
new file mode 100644
index 000000000..e1c309566
--- /dev/null
+++ b/test/local-repo/Release.gpg
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQBGuui6liSD4VZixzQRApSlAJ9D6G1QXvtXH1jH1I4SStsb1VsImQCbBPfp
++1p0bDANcBVY+GckjJvFRkY=
+=a0AR
+-----END PGP SIGNATURE-----
diff --git a/test/local-repo/gdebi-test4.deb b/test/local-repo/gdebi-test4.deb
new file mode 100644
index 000000000..9eb92d1b4
--- /dev/null
+++ b/test/local-repo/gdebi-test4.deb
Binary files differ