summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/package-resources
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2022-10-08 12:19:40 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2022-10-08 12:19:40 -0400
commit8de7995ae6388e5ae5418cb6af579281121f14a4 (patch)
tree4371ff552e436b835824caf09d321c9ef585d7e8 /test/lisp/emacs-lisp/package-resources
parentb8ab4f018bd541caf8d7b71e0b1bd6f81f2d3bbb (diff)
downloademacs-8de7995ae6388e5ae5418cb6af579281121f14a4.tar.gz
emacs-8de7995ae6388e5ae5418cb6af579281121f14a4.tar.bz2
emacs-8de7995ae6388e5ae5418cb6af579281121f14a4.zip
package.el: Understand a few more variations in tarball formats
* lisp/emacs-lisp/package.el (package-untar-buffer): Fix thinko. (package-tar-file-info): Handle the case where the first file is in a subdirectory. * test/lisp/emacs-lisp/package-tests.el (package-test-bug58367): New test. * test/lisp/emacs-lisp/package-resources/ustar-withsub-0.1.tar: * test/lisp/emacs-lisp/package-resources/v7-withsub-0.1.tar: New files.
Diffstat (limited to 'test/lisp/emacs-lisp/package-resources')
-rw-r--r--test/lisp/emacs-lisp/package-resources/ustar-withsub-0.1.tarbin0 -> 10240 bytes
-rw-r--r--test/lisp/emacs-lisp/package-resources/v7-withsub-0.1.tarbin0 -> 10240 bytes
2 files changed, 0 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/package-resources/ustar-withsub-0.1.tar b/test/lisp/emacs-lisp/package-resources/ustar-withsub-0.1.tar
new file mode 100644
index 00000000000..009c4fc420c
--- /dev/null
+++ b/test/lisp/emacs-lisp/package-resources/ustar-withsub-0.1.tar
Binary files differ
diff --git a/test/lisp/emacs-lisp/package-resources/v7-withsub-0.1.tar b/test/lisp/emacs-lisp/package-resources/v7-withsub-0.1.tar
new file mode 100644
index 00000000000..16c79e529f4
--- /dev/null
+++ b/test/lisp/emacs-lisp/package-resources/v7-withsub-0.1.tar
Binary files differ