New upstream version 2021.6

This commit is contained in:
Simon McVittie committed 2021-12-13 11:29:22 +00:00
commit 3f5d22676d
66 files changed
+3711 -3447

No files matched your search

+6 -2
View File
@@ -88,8 +88,12 @@ assert_file_has_content_literal show.txt 'Found 1 signature'
echo "ok pull verify"
# Run tests written in C
${OSTREE_UNINSTALLED}/tests/test-commit-sign-sh-ext
echo "ok extra C tests"
if [ -n "${OSTREE_UNINSTALLED:-}" ]; then
${OSTREE_UNINSTALLED}/tests/test-commit-sign-sh-ext
echo "ok extra C tests"
else
echo "ok # SKIP test only available when running uninstalled"
fi
# Clean things up and reinit
rm repo -rf
+2 -2
View File
@@ -75,8 +75,8 @@ test_rollsum (void)
#define MAX_BUFFER_SIZE 1000000
gsize i;
int len;
g_autofree unsigned char *a = malloc (MAX_BUFFER_SIZE);
g_autofree unsigned char *b = malloc (MAX_BUFFER_SIZE);
g_autofree unsigned char *a = g_malloc (MAX_BUFFER_SIZE);
g_autofree unsigned char *b = g_malloc (MAX_BUFFER_SIZE);
g_autoptr(GRand) rand = g_rand_new ();
/* These two buffers produce the same crc32. */