1
0
Fork 0

Adding upstream version 1.2.3.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-22 09:45:13 +02:00
parent 3a3aa427d7
commit e7ed09875d
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
58 changed files with 3068 additions and 0 deletions

9
selfupdate/testdata/Test.crt vendored Normal file
View file

@ -0,0 +1,9 @@
-----BEGIN CERTIFICATE-----
MIIBLzCB1qADAgECAgglJIDaK1tbjjAKBggqhkjOPQQDAjAPMQ0wCwYDVQQDEwRU
ZXN0MCAXDTE4MTEwNjE1MTcwMFoYDzIxMTgxMTA2MTUxNzAwWjAPMQ0wCwYDVQQD
EwRUZXN0MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEs8fjo/Mi5A3c2v2YxV6A
QPJnr70qYMEpsmqn0BTcI8RhZUgB46tWqeDYdO15yQKbZjfI/dr0fvS21jyW0GSX
rKMaMBgwCwYDVR0PBAQDAgXgMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwIDSAAwRQIh
AI1pUr0nrw3m++sR8HEBoejM5Qh1QJA7gF9y1jY6rc/aAiALFPJXckSLAQuq5IvQ
7cugOPws7/OoUo1124LKPugISg==
-----END CERTIFICATE-----

14
selfupdate/testdata/Test.pem vendored Normal file
View file

@ -0,0 +1,14 @@
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIJvTkRedVrQDNjCb9/RfVjzRwz8S059Y1J6w2N8gy8jVoAoGCCqGSM49
AwEHoUQDQgAEs8fjo/Mi5A3c2v2YxV6AQPJnr70qYMEpsmqn0BTcI8RhZUgB46tW
qeDYdO15yQKbZjfI/dr0fvS21jyW0GSXrA==
-----END EC PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
MIIBLzCB1qADAgECAgglJIDaK1tbjjAKBggqhkjOPQQDAjAPMQ0wCwYDVQQDEwRU
ZXN0MCAXDTE4MTEwNjE1MTcwMFoYDzIxMTgxMTA2MTUxNzAwWjAPMQ0wCwYDVQQD
EwRUZXN0MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEs8fjo/Mi5A3c2v2YxV6A
QPJnr70qYMEpsmqn0BTcI8RhZUgB46tWqeDYdO15yQKbZjfI/dr0fvS21jyW0GSX
rKMaMBgwCwYDVR0PBAQDAgXgMAkGA1UdEwQCMAAwCgYIKoZIzj0EAwIDSAAwRQIh
AI1pUr0nrw3m++sR8HEBoejM5Qh1QJA7gF9y1jY6rc/aAiALFPJXckSLAQuq5IvQ
7cugOPws7/OoUo1124LKPugISg==
-----END CERTIFICATE-----

BIN
selfupdate/testdata/bar-not-found.gzip vendored Normal file

Binary file not shown.

BIN
selfupdate/testdata/bar-not-found.tar.gz vendored Normal file

Binary file not shown.

BIN
selfupdate/testdata/bar-not-found.tar.xz vendored Normal file

Binary file not shown.

BIN
selfupdate/testdata/bar-not-found.zip vendored Normal file

Binary file not shown.

BIN
selfupdate/testdata/empty.tar.gz vendored Normal file

Binary file not shown.

BIN
selfupdate/testdata/empty.zip vendored Normal file

Binary file not shown.

1
selfupdate/testdata/fake-executable vendored Normal file
View file

@ -0,0 +1 @@
this file is used for passing check of file existence in update tests.

View file

@ -0,0 +1 @@
this file is used for passing check of file existence in update tests.

BIN
selfupdate/testdata/foo.tar.gz vendored Normal file

Binary file not shown.

BIN
selfupdate/testdata/foo.tar.xz vendored Normal file

Binary file not shown.

BIN
selfupdate/testdata/foo.tgz vendored Normal file

Binary file not shown.

BIN
selfupdate/testdata/foo.zip vendored Normal file

Binary file not shown.

1
selfupdate/testdata/foo.zip.sha256 vendored Normal file
View file

@ -0,0 +1 @@
e412095724426c984940efde02ea000251a12b37506c977341e0a07600dbfcb6 foo.zip

BIN
selfupdate/testdata/foo.zip.sig vendored Normal file

Binary file not shown.

View file

@ -0,0 +1,5 @@
package main
func main() {
println("not released yet!")
}

View file

BIN
selfupdate/testdata/invalid-tar.tar.gz vendored Normal file

Binary file not shown.

BIN
selfupdate/testdata/invalid-tar.tar.xz vendored Normal file

Binary file not shown.

1
selfupdate/testdata/invalid-xz.tar.xz vendored Normal file
View file

@ -0,0 +1 @@
hello

0
selfupdate/testdata/invalid.gz vendored Normal file
View file

1
selfupdate/testdata/invalid.xz vendored Normal file
View file

@ -0,0 +1 @@
hello

0
selfupdate/testdata/invalid.zip vendored Normal file
View file

BIN
selfupdate/testdata/single-file.gz vendored Normal file

Binary file not shown.

BIN
selfupdate/testdata/single-file.gzip vendored Normal file

Binary file not shown.

BIN
selfupdate/testdata/single-file.xz vendored Normal file

Binary file not shown.

BIN
selfupdate/testdata/single-file.zip vendored Normal file

Binary file not shown.