hwsim tests: vm: read a config file from $HOME
The vm-config in the subdirectory is less useful as it will get removed by "git clean" and similar, so read a config file from ~/.wpas-vm-config in addition. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
fe8691248d
commit
fd77e594a4
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ KVMOUT=ttyS1
|
||||||
CHANNELS=1
|
CHANNELS=1
|
||||||
|
|
||||||
test -f vm-config && . vm-config
|
test -f vm-config && . vm-config
|
||||||
|
test -f ~/.wpas-vm-config && . ~/.wpas-vm-config
|
||||||
|
|
||||||
if [ -z "$KERNEL" ] && [ -z "$KERNELDIR" ] ; then
|
if [ -z "$KERNEL" ] && [ -z "$KERNELDIR" ] ; then
|
||||||
echo "You need to set a KERNEL or KERNELDIR (in the environment or vm-config)"
|
echo "You need to set a KERNEL or KERNELDIR (in the environment or vm-config)"
|
||||||
|
|
Loading…
Reference in a new issue