aboutsummaryrefslogtreecommitdiff
path: root/librsync/testdata
diff options
context:
space:
mode:
authorAyke van Laethem <aykevanlaethem@gmail.com>2016-04-30 22:21:45 +0200
committerAyke van Laethem <aykevanlaethem@gmail.com>2016-04-30 22:22:44 +0200
commit181d4286ad8dbca39bb4d43475b31ab9b3c626ee (patch)
treef38824251e6eb4ff64919ea89bcb1729ed49656f /librsync/testdata
parent4ce8be3db5b6afe8e984367c2aad1f21bed9d47d (diff)
downloadgolibrsync-181d4286ad8dbca39bb4d43475b31ab9b3c626ee.tar.gz
golibrsync-181d4286ad8dbca39bb4d43475b31ab9b3c626ee.tar.bz2
golibrsync-181d4286ad8dbca39bb4d43475b31ab9b3c626ee.zip
Support the new librsync (version 1.0.0)
Compatibility with older versions is kept (tested 0.9.7).
Diffstat (limited to 'librsync/testdata')
-rw-r--r--librsync/testdata/random_data.sig.go30
-rw-r--r--librsync/testdata/random_data.sig2bin0 -> 156 bytes
2 files changed, 23 insertions, 7 deletions
diff --git a/librsync/testdata/random_data.sig.go b/librsync/testdata/random_data.sig.go
index 8822edf..e5e57a3 100644
--- a/librsync/testdata/random_data.sig.go
+++ b/librsync/testdata/random_data.sig.go
@@ -1,12 +1,28 @@
package testdata
-func RandomDataSig() []byte {
+func RandomDataSig() [][]byte {
// Was generated with `rdiff signature random_data random_data.sig`
- return []byte{
- 0x72, 0x73, 0x01, 0x36, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x08,
- 0x60, 0xcb, 0xf7, 0x64, 0x2e, 0xbe, 0x39, 0x5e, 0x1a, 0xf2, 0x77, 0x07,
- 0xf5, 0x8f, 0xf3, 0xdc, 0x1d, 0xcc, 0xe0, 0x3b, 0x3b, 0xc9, 0x7e, 0x0d,
- 0x2e, 0xcf, 0xed, 0xc5, 0x09, 0x1f, 0xbb, 0x75, 0x27, 0xbb, 0x46, 0xa9,
- 0x86, 0x26, 0x04, 0xa1, 0x9d, 0x4d, 0xa3, 0x7a, 0xfa, 0xdd, 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 0xb1, 0x40, 0xa2, 0x3c, 0xfc, 0x90, 0x66,
+ 0x86, 0x26, 0x04, 0xa1, 0x08, 0x25, 0xe4, 0x2c, 0xf7, 0x77, 0xa8, 0x7e,
+ 0x8f, 0xbf, 0xe9, 0xdf, 0x7a, 0x2d, 0x89, 0xc3, 0xe8, 0x15, 0x65, 0x46,
+ 0xa2, 0xe0, 0x33, 0x38, 0xc9, 0x73, 0xf0, 0xc3, 0x20, 0x79, 0x5a, 0x11,
+ },
}
}
diff --git a/librsync/testdata/random_data.sig2 b/librsync/testdata/random_data.sig2
new file mode 100644
index 0000000..684eacc
--- /dev/null
+++ b/librsync/testdata/random_data.sig2
Binary files differ