From 71d1bec6355a41885edc120bfac1b3f609e83f20 Mon Sep 17 00:00:00 2001 From: Amery Song Date: Wed, 2 Sep 2020 16:05:32 +0800 Subject: [PATCH] pipeline: fix misleading pipeline exporting info The "No available topology ..." info is misleading, this patch makes it clearer. Fixes: #232 Signed-off-by: Amery Song --- case-lib/pipeline.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/case-lib/pipeline.sh b/case-lib/pipeline.sh index 63d2ac35..b7b11e1c 100644 --- a/case-lib/pipeline.sh +++ b/case-lib/pipeline.sh @@ -8,7 +8,7 @@ func_pipeline_export() fi # got tplg_file, verify file exist tplg_path=$(func_lib_get_tplg_path "$1") || { - die "No available topology for pipeline export" + die "Topology $1 not found, check the TPLG environment variable or specify topology path with -t" } dlogi "$SCRIPT_NAME will use topology $tplg_path to run the test case"