tests: Remove bashisms (s/source/.)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
This commit is contained in:
Petr Vorel 2017-10-08 16:39:16 +02:00 committed by Stephen Hemminger
parent 237a52731b
commit ecd44e6805
9 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
source lib/generic.sh
. lib/generic.sh
ts_log "[Testing add/del virtual links]"

View File

@ -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

View File

@ -1,6 +1,6 @@
#!/bin/sh
source lib/generic.sh
. lib/generic.sh
ts_log "[Testing netns nsid]"

View File

@ -1,6 +1,6 @@
#!/bin/sh
source lib/generic.sh
. lib/generic.sh
ts_log "[Testing netns nsid in batch mode]"

View File

@ -1,6 +1,6 @@
#!/bin/sh
#!/bin/bash
source lib/generic.sh
. lib/generic.sh
ts_log "[Testing add default route]"

View File

@ -1,6 +1,6 @@
#!/bin/sh
source lib/generic.sh
. lib/generic.sh
TUNNEL_NAME="tunnel_test_ip"

View File

@ -1,7 +1,7 @@
#!/bin/bash
# vim: ft=sh
source lib/generic.sh
. lib/generic.sh
QDISCS="cbq htb dsmark"

View File

@ -1,7 +1,7 @@
#!/bin/bash
# vim: ft=sh
source lib/generic.sh
. lib/generic.sh
ts_qdisc_available "dsmark"
if [ $? -eq 0 ]; then

View File

@ -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