From: Ondrej Lichtner <olichtne(a)redhat.com>
When lnst regression tests are not using user configuration they should
load just the config file provided by the env/ directory. To do this we
use the new -C lnst-ctl option.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
regression-tests/run-test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/regression-tests/run-test.sh b/regression-tests/run-test.sh
index fba47ca..02fa126 100755
--- a/regression-tests/run-test.sh
+++ b/regression-tests/run-test.sh
@@ -61,7 +61,7 @@ function get_pool_dirs
if [ "$use_user_conf" = "true" ]; then
command lnst-ctl --dump-pools 2>/dev/null | cut -d = -f2
else
- command lnst-ctl -c $repo/lnst-ctl.conf --dump-pools 2>/dev/null |
+ command lnst-ctl -C $repo/lnst-ctl.conf --dump-pools 2>/dev/null |
cut -d = -f2
fi
}
--
2.8.3