Skip to content

Commit

Permalink
check-pause-resume.sh: add $TOPDIR variable
Browse files Browse the repository at this point in the history
So we can invoke other tools easily.

Signed-off-by: ubuntu <[email protected]>
Signed-off-by: Marc Herbert <[email protected]>
  • Loading branch information
marc-hb committed Jul 10, 2024
1 parent 2d0917e commit c0bd6d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test-case/check-pause-resume.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ set -e
## no error happen for aplay/arecord
##

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

OPT_NAME['t']='tplg' OPT_DESC['t']='tplg file, default value is env TPLG: $''TPLG'
OPT_HAS_ARG['t']=1 OPT_VAL['t']="$TPLG"
Expand Down

0 comments on commit c0bd6d4

Please sign in to comment.