summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.co.uk>2018-08-23 13:33:36 +0100
committerJames Ennis <james.ennis@codethink.co.uk>2018-08-23 14:19:00 +0100
commitf2bb00c69e0e71791c61098da312ce5e2ad143f0 (patch)
treeb517498674bde88cb939c7829c698d43b42d5fa8
parentc8bafb687e1ac2c2692f69c0e6f0bb80a2cb7565 (diff)
downloadbuildstream-f2bb00c69e0e71791c61098da312ce5e2ad143f0.tar.gz
tar tests: Add tarball which contains a read-only dir
-rw-r--r--tests/sources/tar/read-only/content/a.tar.gzbin0 -> 10240 bytes
-rw-r--r--tests/sources/tar/read-only/target-lz.bst6
-rw-r--r--tests/sources/tar/read-only/target.bst6
3 files changed, 12 insertions, 0 deletions
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 000000000..70922627b
--- /dev/null
+++ b/tests/sources/tar/read-only/content/a.tar.gz
Binary files 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 000000000..b0569129e
--- /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 000000000..ad413a2f4
--- /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