mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-15 14:05:22 +08:00
tests: Remove bashisms (s/source/.)
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
This commit is contained in:
parent
237a52731b
commit
ecd44e6805
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
source lib/generic.sh
|
||||
. lib/generic.sh
|
||||
|
||||
ts_log "[Testing add/del virtual links]"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
source lib/generic.sh
|
||||
. lib/generic.sh
|
||||
|
||||
NL_FILE="tests/ip/link/dev_wo_vf_rate.nl"
|
||||
ts_ip "$0" "Show VF devices w/o VF rate info" -d monitor file $NL_FILE
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
source lib/generic.sh
|
||||
. lib/generic.sh
|
||||
|
||||
ts_log "[Testing netns nsid]"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
source lib/generic.sh
|
||||
. lib/generic.sh
|
||||
|
||||
ts_log "[Testing netns nsid in batch mode]"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
source lib/generic.sh
|
||||
. lib/generic.sh
|
||||
|
||||
ts_log "[Testing add default route]"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
source lib/generic.sh
|
||||
. lib/generic.sh
|
||||
|
||||
TUNNEL_NAME="tunnel_test_ip"
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# vim: ft=sh
|
||||
|
||||
source lib/generic.sh
|
||||
. lib/generic.sh
|
||||
|
||||
QDISCS="cbq htb dsmark"
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# vim: ft=sh
|
||||
|
||||
source lib/generic.sh
|
||||
. lib/generic.sh
|
||||
|
||||
ts_qdisc_available "dsmark"
|
||||
if [ $? -eq 0 ]; then
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
source lib/generic.sh
|
||||
. lib/generic.sh
|
||||
|
||||
DEV="$(rand_dev)"
|
||||
ts_ip "$0" "Add $DEV dummy interface" link add dev $DEV type dummy
|
||||
|
Loading…
Reference in New Issue
Block a user