From fd77e594a49db47eb7ff560df9428f5acb9e14d8 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Tue, 14 Jan 2014 10:38:33 +0100 Subject: [PATCH] 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 --- tests/hwsim/vm/vm-run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hwsim/vm/vm-run.sh b/tests/hwsim/vm/vm-run.sh index a4924edac..6feaaaa5c 100755 --- a/tests/hwsim/vm/vm-run.sh +++ b/tests/hwsim/vm/vm-run.sh @@ -29,6 +29,7 @@ KVMOUT=ttyS1 CHANNELS=1 test -f vm-config && . vm-config +test -f ~/.wpas-vm-config && . ~/.wpas-vm-config if [ -z "$KERNEL" ] && [ -z "$KERNELDIR" ] ; then echo "You need to set a KERNEL or KERNELDIR (in the environment or vm-config)"