summaryrefslogtreecommitdiff
path: root/tests/test-basic-c.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2017-09-01 16:15:33 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2017-09-01 20:54:12 +0000
commit88b25dc65c5e2392a732c157cf43fa3dfac5e191 (patch)
treeed75877fd19b73fe4a1345033aff554917009858 /tests/test-basic-c.c
parentf07432d4cefcea7fb8c602b9ab78e83236127d8f (diff)
downloadostree-88b25dc65c5e2392a732c157cf43fa3dfac5e191.tar.gz
tree-wide: Replace archive-z2 with archive
In almost all places. There are just a few exceptions; one tricky bit for example is that the repo config must still have `mode=archive-z2`, since `archive` used to mean something else. (We could very likely just get rid of that check, but eh, later). I also added a test that one can still do `ostree repo init --mode=archive-z2`. Closes: #1125 Approved by: jlebon
Diffstat (limited to 'tests/test-basic-c.c')
-rw-r--r--tests/test-basic-c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-basic-c.c b/tests/test-basic-c.c
index dc6d33f2..d8800763 100644
--- a/tests/test-basic-c.c
+++ b/tests/test-basic-c.c
@@ -55,7 +55,7 @@ input_stream_to_bytes (GInputStream *input)
}
static void
-test_raw_file_to_archive_z2_stream (gconstpointer data)
+test_raw_file_to_archive_stream (gconstpointer data)
{
OstreeRepo *repo = OSTREE_REPO (data);
g_autofree gchar *commit_checksum = NULL;
@@ -249,7 +249,7 @@ int main (int argc, char **argv)
goto out;
g_test_add_data_func ("/repo-not-system", repo, test_repo_is_not_system);
- g_test_add_data_func ("/raw-file-to-archive-z2-stream", repo, test_raw_file_to_archive_z2_stream);
+ g_test_add_data_func ("/raw-file-to-archive-stream", repo, test_raw_file_to_archive_stream);
g_test_add_data_func ("/objectwrites", repo, test_object_writes);
g_test_add_func ("/remotename", test_validate_remotename);