summary refs log blame commit diff
path: root/host/start-vm/tests/bridge_add-%d.c
blob: 17e60137c2550ba262c9b3c74f72ae99aa79cfa2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
                                     











                                                          
// SPDX-License-Identifier: EUPL-1.2+
// SPDX-FileCopyrightText: 2022 Alyssa Ross <hi@alyssa.is>

#include "../net-util.h"

#include <assert.h>
#include <errno.h>

int main(void)
{
	assert(bridge_add("br%d") == -1);
	assert(errno == EINVAL);
}