Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit fd5107e

Browse files
committed
meta/tests: minor bugfix
- ab3_defcfg: replace inappropriate usage of [ ] - tests/01-self_files.sh: fix typo of function call Signed-off-by: Camber Huang <[email protected]>
1 parent 4d95aeb commit fd5107e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

etc/autobuild/ab3_defcfg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,6 @@ abassigngroup() {
170170
ABHOST_GROUP="$(abassigngroup $ABHOST)"
171171

172172
# Default configurations for ab3 package integrity check module.
173-
[ -v $ABTEST_ENABLED ] || ABTEST_ENABLED=0 # Disabled during current development cycle
173+
[[ -v $ABTEST_ENABLED ]] || ABTEST_ENABLED=0 # Disabled during current development cycle
174174

175175
unset -f abdetectarch abassigngroup

tests/01-self_files.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ abtest_self_files_test() {
1919
abinfo "Loading test case file ${i} and performing tests ..."
2020
. $i
2121
abtest || abtest_non-zero-handler $? $i
22-
abtest_unprivileged || abtest_non-zero-handler $? $i
22+
abtest_unprivileged || abtest_unprivileged_non-zero-handler $? $i
2323
unset abtest abtest_unprivileged
2424
done
2525
}

0 commit comments

Comments
 (0)