aboutsummaryrefslogtreecommitdiffstats
path: root/test-data
diff options
context:
space:
mode:
Diffstat (limited to 'test-data')
-rw-r--r--test-data/dat/simple/.dat/content.bitfieldbin0 -> 3360 bytes
-rw-r--r--test-data/dat/simple/.dat/content.key1
-rw-r--r--test-data/dat/simple/.dat/content.secret_key1
-rw-r--r--test-data/dat/simple/.dat/content.signaturesbin0 -> 160 bytes
-rw-r--r--test-data/dat/simple/.dat/content.treebin0 -> 152 bytes
-rw-r--r--test-data/dat/simple/.dat/metadata.bitfieldbin0 -> 3360 bytes
-rw-r--r--test-data/dat/simple/.dat/metadata.databin0 -> 145 bytes
-rw-r--r--test-data/dat/simple/.dat/metadata.key1
-rw-r--r--test-data/dat/simple/.dat/metadata.latest0
-rw-r--r--test-data/dat/simple/.dat/metadata.ogdbin0 -> 1 bytes
-rw-r--r--test-data/dat/simple/.dat/metadata.signaturesbin0 -> 224 bytes
-rw-r--r--test-data/dat/simple/.dat/metadata.treebin0 -> 232 bytes
-rw-r--r--test-data/dat/simple/README.md4
-rw-r--r--test-data/sleep/empty/empty.hexdump2
-rw-r--r--test-data/sleep/empty/empty.py27
-rw-r--r--test-data/sleep/empty/empty.sleepbin0 -> 32 bytes
16 files changed, 36 insertions, 0 deletions
diff --git a/test-data/dat/simple/.dat/content.bitfield b/test-data/dat/simple/.dat/content.bitfield
new file mode 100644
index 0000000..7b295fd
--- /dev/null
+++ b/test-data/dat/simple/.dat/content.bitfield
Binary files differ
diff --git a/test-data/dat/simple/.dat/content.key b/test-data/dat/simple/.dat/content.key
new file mode 100644
index 0000000..c654373
--- /dev/null
+++ b/test-data/dat/simple/.dat/content.key
@@ -0,0 +1 @@
+yE.A.`@!/b^ҽ \ No newline at end of file
diff --git a/test-data/dat/simple/.dat/content.secret_key b/test-data/dat/simple/.dat/content.secret_key
new file mode 100644
index 0000000..0da60a9
--- /dev/null
+++ b/test-data/dat/simple/.dat/content.secret_key
@@ -0,0 +1 @@
+"?m~^{X]kSOyE.A.`@!/b^ҽ \ No newline at end of file
diff --git a/test-data/dat/simple/.dat/content.signatures b/test-data/dat/simple/.dat/content.signatures
new file mode 100644
index 0000000..0942a1c
--- /dev/null
+++ b/test-data/dat/simple/.dat/content.signatures
Binary files differ
diff --git a/test-data/dat/simple/.dat/content.tree b/test-data/dat/simple/.dat/content.tree
new file mode 100644
index 0000000..171de8a
--- /dev/null
+++ b/test-data/dat/simple/.dat/content.tree
Binary files differ
diff --git a/test-data/dat/simple/.dat/metadata.bitfield b/test-data/dat/simple/.dat/metadata.bitfield
new file mode 100644
index 0000000..55d48cf
--- /dev/null
+++ b/test-data/dat/simple/.dat/metadata.bitfield
Binary files differ
diff --git a/test-data/dat/simple/.dat/metadata.data b/test-data/dat/simple/.dat/metadata.data
new file mode 100644
index 0000000..7042a7f
--- /dev/null
+++ b/test-data/dat/simple/.dat/metadata.data
Binary files differ
diff --git a/test-data/dat/simple/.dat/metadata.key b/test-data/dat/simple/.dat/metadata.key
new file mode 100644
index 0000000..29432e6
--- /dev/null
+++ b/test-data/dat/simple/.dat/metadata.key
@@ -0,0 +1 @@
+e$- y0?RPʪTܸ \ No newline at end of file
diff --git a/test-data/dat/simple/.dat/metadata.latest b/test-data/dat/simple/.dat/metadata.latest
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test-data/dat/simple/.dat/metadata.latest
diff --git a/test-data/dat/simple/.dat/metadata.ogd b/test-data/dat/simple/.dat/metadata.ogd
new file mode 100644
index 0000000..f76dd23
--- /dev/null
+++ b/test-data/dat/simple/.dat/metadata.ogd
Binary files differ
diff --git a/test-data/dat/simple/.dat/metadata.signatures b/test-data/dat/simple/.dat/metadata.signatures
new file mode 100644
index 0000000..de9dbc6
--- /dev/null
+++ b/test-data/dat/simple/.dat/metadata.signatures
Binary files differ
diff --git a/test-data/dat/simple/.dat/metadata.tree b/test-data/dat/simple/.dat/metadata.tree
new file mode 100644
index 0000000..d48944e
--- /dev/null
+++ b/test-data/dat/simple/.dat/metadata.tree
Binary files differ
diff --git a/test-data/dat/simple/README.md b/test-data/dat/simple/README.md
new file mode 100644
index 0000000..92c28df
--- /dev/null
+++ b/test-data/dat/simple/README.md
@@ -0,0 +1,4 @@
+
+This is a self-referential dat with a single file (this README).
+
+dat://cb1e8d65f3c6242db90bfd99accaf47930ea3ff6c852fb50caaa548c9cdcb8b7
diff --git a/test-data/sleep/empty/empty.hexdump b/test-data/sleep/empty/empty.hexdump
new file mode 100644
index 0000000..9bae6f1
--- /dev/null
+++ b/test-data/sleep/empty/empty.hexdump
@@ -0,0 +1,2 @@
+00000000: 0502 57ff 0000 0100 0000 0000 0000 0000 ..W.............
+00000010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
diff --git a/test-data/sleep/empty/empty.py b/test-data/sleep/empty/empty.py
new file mode 100644
index 0000000..2bed27d
--- /dev/null
+++ b/test-data/sleep/empty/empty.py
@@ -0,0 +1,27 @@
+#!/usr/bin/env python3
+
+"""This script generates empty.sleep"""
+
+# Create file in binary mode
+f = open('empty.sleep', 'wb')
+
+# Move to begining, set size
+f.seek(0)
+f.truncate(32)
+
+# Write header, with 0xFF as the dat file type
+f.write(b'\x05\x02\x57\xFF')
+
+# Version 0
+f.write(b'\x00')
+
+# One-byte entry size
+f.write(b'\x00\x01')
+
+# No Algorithm name
+f.write(b'\x00')
+for i in range(24):
+ f.write(b'\x00')
+
+assert(f.tell() == 32)
+f.close()
diff --git a/test-data/sleep/empty/empty.sleep b/test-data/sleep/empty/empty.sleep
new file mode 100644
index 0000000..973d047
--- /dev/null
+++ b/test-data/sleep/empty/empty.sleep
Binary files differ