We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a464ff commit 2510895Copy full SHA for 2510895
1 file changed
test-case/check-kmod-load-unload.sh
@@ -22,8 +22,11 @@ set -e
22
## check kernel log and find no errors
23
##
24
25
+TOPDIR="$(dirname "${BASH_SOURCE[0]}")"/..
26
+TOPDIR=$(cd "$TOPDIR" && pwd)
27
+
28
# shellcheck source=case-lib/lib.sh
-source "$(dirname "${BASH_SOURCE[0]}")"/../case-lib/lib.sh
29
+source "${TOPDIR}"/case-lib/lib.sh
30
31
OPT_NAME['l']='loop_cnt'
32
OPT_DESC['l']='remove / insert module loop count -- per device'
0 commit comments