From 8a28340628a58f5e80641766a4f9b9806d60a2a8 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 2 Aug 2019 19:06:59 +0200 Subject: [PATCH] Fix tools/configure_for_func_testing.sh Remove an erroneous "source", we test for existing of a file, the source is misplaced. The source results in errors executing like: /home/zuul/src/opendev.org/openstack/neutron/tools/configure_for_func_testing.sh: line 81: [: source: binary operator expected Change-Id: Iea8121eb4b25e66e2527feb5bf3f8f351114c721 --- tools/configure_for_func_testing.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/configure_for_func_testing.sh b/tools/configure_for_func_testing.sh index 862e849d08f..e4348039755 100755 --- a/tools/configure_for_func_testing.sh +++ b/tools/configure_for_func_testing.sh @@ -78,7 +78,7 @@ function _init { FILES=$DEVSTACK_PATH/files TOP_DIR=$DEVSTACK_PATH - if [ -f source $DEVSTACK_PATH/local.conf ]; then + if [ -f $DEVSTACK_PATH/local.conf ]; then source $DEVSTACK_PATH/local.conf 2> /dev/null fi