mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-12-01 22:45:33 +00: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
|
#!/bin/sh
|
||||||
|
|
||||||
source lib/generic.sh
|
. lib/generic.sh
|
||||||
|
|
||||||
ts_log "[Testing add/del virtual links]"
|
ts_log "[Testing add/del virtual links]"
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source lib/generic.sh
|
. lib/generic.sh
|
||||||
|
|
||||||
NL_FILE="tests/ip/link/dev_wo_vf_rate.nl"
|
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
|
ts_ip "$0" "Show VF devices w/o VF rate info" -d monitor file $NL_FILE
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source lib/generic.sh
|
. lib/generic.sh
|
||||||
|
|
||||||
ts_log "[Testing netns nsid]"
|
ts_log "[Testing netns nsid]"
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source lib/generic.sh
|
. lib/generic.sh
|
||||||
|
|
||||||
ts_log "[Testing netns nsid in batch mode]"
|
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]"
|
ts_log "[Testing add default route]"
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source lib/generic.sh
|
. lib/generic.sh
|
||||||
|
|
||||||
TUNNEL_NAME="tunnel_test_ip"
|
TUNNEL_NAME="tunnel_test_ip"
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# vim: ft=sh
|
# vim: ft=sh
|
||||||
|
|
||||||
source lib/generic.sh
|
. lib/generic.sh
|
||||||
|
|
||||||
QDISCS="cbq htb dsmark"
|
QDISCS="cbq htb dsmark"
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# vim: ft=sh
|
# vim: ft=sh
|
||||||
|
|
||||||
source lib/generic.sh
|
. lib/generic.sh
|
||||||
|
|
||||||
ts_qdisc_available "dsmark"
|
ts_qdisc_available "dsmark"
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
source lib/generic.sh
|
. lib/generic.sh
|
||||||
|
|
||||||
DEV="$(rand_dev)"
|
DEV="$(rand_dev)"
|
||||||
ts_ip "$0" "Add $DEV dummy interface" link add dev $DEV type dummy
|
ts_ip "$0" "Add $DEV dummy interface" link add dev $DEV type dummy
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user