xref: /aosp_15_r20/external/ltp/testcases/network/virt/macvlan01.sh (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker#!/bin/sh
2*49cdfc7eSAndroid Build Coastguard Worker# SPDX-License-Identifier: GPL-2.0-or-later
3*49cdfc7eSAndroid Build Coastguard Worker# Copyright (c) 2018 Petr Vorel <[email protected]>
4*49cdfc7eSAndroid Build Coastguard Worker# Copyright (c) 2015 Oracle and/or its affiliates. All Rights Reserved.
5*49cdfc7eSAndroid Build Coastguard Worker# Author: Alexey Kodanev <[email protected]>
6*49cdfc7eSAndroid Build Coastguard Worker#
7*49cdfc7eSAndroid Build Coastguard Worker# Local test, check if we can create and then delete macvlan
8*49cdfc7eSAndroid Build Coastguard Worker# interface multiple times.
9*49cdfc7eSAndroid Build Coastguard Worker
10*49cdfc7eSAndroid Build Coastguard Workervirt_type="macvlan"
11*49cdfc7eSAndroid Build Coastguard WorkerTST_TEST_DATA="mode private,mode vepa,mode bridge,mode passthru"
12*49cdfc7eSAndroid Build Coastguard WorkerTST_TEST_DATA_IFS=","
13*49cdfc7eSAndroid Build Coastguard WorkerTST_TESTFUNC=virt_test_02
14*49cdfc7eSAndroid Build Coastguard Worker
15*49cdfc7eSAndroid Build Coastguard Worker. virt_lib.sh
16*49cdfc7eSAndroid Build Coastguard Workertst_run
17