tests: Drop numeric prefix

Theoretically it's useful to have layers of tests, but in practice
it's just annoying to assign numbers.
This commit is contained in:
Colin Walters committed 2013-07-09 10:41:07 -04:00
1 parent bea4a7538f
commit 43d69ac8a3
12 files changed
+24 -12

No files matched your search

+10 -10
View File
@@ -20,16 +20,16 @@
if BUILDOPT_INSTALL_TESTS
insttestdir=$(pkglibexecdir)/installed-tests
testfiles = t0000-basic \
t0001-archive \
t0002-archivez \
t0003-log \
t0004-remote-add \
t0005-corruption \
t0006-libarchive \
t0011-pull-archive-z \
t0015-admin-deploy \
t0016-admin-deploy \
testfiles = test-basic \
test-archive \
test-archivez \
test-log \
test-remote-add \
test-corruption \
test-libarchive \
test-pull-archive-z \
test-admin-deploy-1 \
test-admin-deploy-2 \
$(NULL)
insttest_SCRIPTS = $(addprefix tests/,$(testfiles:=.sh))
+14 -2
View File
@@ -590,7 +590,13 @@ content_fetch_on_stage_complete (GObject *object,
g_debug ("stage of %s complete", ostree_object_to_string (checksum, objtype));
g_assert (strcmp (checksum, expected_checksum) == 0);
if (strcmp (checksum, expected_checksum) != 0)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
"Corrupted content object; checksum expected='%s' actual='%s'",
expected_checksum, checksum);
goto out;
}
pull_data->n_fetched_content++;
out:
@@ -678,7 +684,13 @@ on_metadata_staged (GObject *object,
g_debug ("stage of %s complete", ostree_object_to_string (checksum, objtype));
g_assert (strcmp (checksum, expected_checksum) == 0);
if (strcmp (checksum, expected_checksum) != 0)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
"Corrupted metadata object; checksum expected='%s' actual='%s'",
expected_checksum, checksum);
goto out;
}
pull_data->metadata_scan_idle = FALSE;
ot_waitable_queue_push (pull_data->metadata_objects_to_scan,
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.