]> git.meshlink.io Git - meshlink/blobdiff - test/channels-fork.c
Fix some test cases using the same configuration directory.
[meshlink] / test / channels-fork.c
index 30f7cf8ecb35b61d2c3e6cca9b54d945b4d40fb0..483f430b88bee52be1aa82421e81538877f5786b 100644 (file)
@@ -91,7 +91,7 @@ static int main1(int rfd, int wfd) {
        meshlink_set_log_cb(NULL, MESHLINK_DEBUG, log_cb);
 
        assert(meshlink_destroy("channels_fork_conf.1"));
-       meshlink_handle_t *mesh = meshlink_open("channels_fork_conf.1", "foo", "channels", DEV_CLASS_BACKBONE);
+       meshlink_handle_t *mesh = meshlink_open("channels_fork_conf.1", "foo", "channels-fork", DEV_CLASS_BACKBONE);
        assert(mesh);
 
        meshlink_enable_discovery(mesh, false);
@@ -147,7 +147,7 @@ static int main2(int rfd, int wfd) {
        meshlink_set_log_cb(NULL, MESHLINK_DEBUG, log_cb);
 
        assert(meshlink_destroy("channels_fork_conf.2"));
-       meshlink_handle_t *mesh = meshlink_open("channels_fork_conf.2", "bar", "channels", DEV_CLASS_BACKBONE);
+       meshlink_handle_t *mesh = meshlink_open("channels_fork_conf.2", "bar", "channels-fork", DEV_CLASS_BACKBONE);
        assert(mesh);
 
        meshlink_enable_discovery(mesh, false);