You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2021/02/04 08:10:49 UTC

[buildstream] 01/02: tar tests: Add tarball which contains a read-only dir

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch jennis/read_only_dir_in_tarball
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit f2bb00c69e0e71791c61098da312ce5e2ad143f0
Author: James Ennis <ja...@codethink.co.uk>
AuthorDate: Thu Aug 23 13:33:36 2018 +0100

    tar tests: Add tarball which contains a read-only dir
---
 tests/sources/tar/read-only/content/a.tar.gz | Bin 0 -> 10240 bytes
 tests/sources/tar/read-only/target-lz.bst    |   6 ++++++
 tests/sources/tar/read-only/target.bst       |   6 ++++++
 3 files changed, 12 insertions(+)

diff --git a/tests/sources/tar/read-only/content/a.tar.gz b/tests/sources/tar/read-only/content/a.tar.gz
new file mode 100644
index 0000000..7092262
Binary files /dev/null and b/tests/sources/tar/read-only/content/a.tar.gz differ
diff --git a/tests/sources/tar/read-only/target-lz.bst b/tests/sources/tar/read-only/target-lz.bst
new file mode 100644
index 0000000..b056912
--- /dev/null
+++ b/tests/sources/tar/read-only/target-lz.bst
@@ -0,0 +1,6 @@
+kind: import
+description: The kind of this element is irrelevant.
+sources:
+- kind: tar
+  url: tmpdir:/a.tar.lz
+  ref: foo
diff --git a/tests/sources/tar/read-only/target.bst b/tests/sources/tar/read-only/target.bst
new file mode 100644
index 0000000..ad413a2
--- /dev/null
+++ b/tests/sources/tar/read-only/target.bst
@@ -0,0 +1,6 @@
+kind: import
+description: The kind of this element is irrelevant.
+sources:
+- kind: tar
+  url: tmpdir:/a.tar.gz
+  ref: foo