Skip to content

Commit

Permalink
multiple-pipeline.sh: add usual TESTDIR variable for re-use
Browse files Browse the repository at this point in the history
multiple-pipeline.sh: add usual TESTDIR variable for re-use

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb committed Feb 28, 2022
1 parent 6b7a826 commit be2d7f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test-case/multiple-pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@

set -e

TESTDIR="$(dirname "${BASH_SOURCE[0]}")"/..

# shellcheck source=case-lib/lib.sh
source "$(dirname "${BASH_SOURCE[0]}")"/../case-lib/lib.sh
source "${TESTDIR}"/case-lib/lib.sh

OPT_NAME['t']='tplg' OPT_DESC['t']='Topology path, default to environment variable: TPLG'
OPT_HAS_ARG['t']=1 OPT_VAL['t']="$TPLG"
Expand Down

0 comments on commit be2d7f5

Please sign in to comment.