From 9b0730b3266389dc06900c8c8b1d907eeec6786e Mon Sep 17 00:00:00 2001 From: Krzysztof Karas Date: Tue, 6 Sep 2022 15:34:39 +0200 Subject: [PATCH] run_openstack_tests.sh: move rpc_py declaration below source commands Since commit: eaebf84102c03fc3bedd1a7a0cd308a439e89f32 rpc_py is defined in autotest_common.sh. To avoid overriding the variable, move its declaration below source commands. Change-Id: I4f4e59120d4202c00a9fd2c685f3bf4febae48a5 Signed-off-by: Krzysztof Karas Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14387 Tested-by: SPDK CI Jenkins Reviewed-by: Tomasz Zawadzki Reviewed-by: Karol Latecki Reviewed-by: Pawel Piatek Reviewed-by: Jim Harris --- test/openstack/run_openstack_tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/openstack/run_openstack_tests.sh b/test/openstack/run_openstack_tests.sh index 178bc6c18..8a34f267c 100755 --- a/test/openstack/run_openstack_tests.sh +++ b/test/openstack/run_openstack_tests.sh @@ -2,13 +2,14 @@ testdir=$(readlink -f $(dirname $0)) rootdir=$(readlink -f $testdir/../..) -rpc_py=$rootdir/scripts/rpc.py set -- "--iso" "--transport=tcp" "$@" source $rootdir/test/common/autotest_common.sh source $rootdir/test/nvmf/common.sh +rpc_py=$rootdir/scripts/rpc.py + HUGE_EVEN_ALLOC=yes HUGEMEM=1024 nvmftestinit function finish_test() {