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

Commit

Permalink
meta/tests: minor bugfix
Browse files Browse the repository at this point in the history
- ab3_defcfg: replace inappropriate usage of [ ]
- tests/01-self_files.sh: fix typo of function call

Signed-off-by: Camber Huang <[email protected]>
  • Loading branch information
CamberLoid committed Jun 7, 2022
1 parent 4d95aeb commit fd5107e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etc/autobuild/ab3_defcfg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,6 @@ abassigngroup() {
ABHOST_GROUP="$(abassigngroup $ABHOST)"

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

unset -f abdetectarch abassigngroup
2 changes: 1 addition & 1 deletion tests/01-self_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ abtest_self_files_test() {
abinfo "Loading test case file ${i} and performing tests ..."
. $i
abtest || abtest_non-zero-handler $? $i
abtest_unprivileged || abtest_non-zero-handler $? $i
abtest_unprivileged || abtest_unprivileged_non-zero-handler $? $i
unset abtest abtest_unprivileged
done
}
Expand Down

0 comments on commit fd5107e

Please sign in to comment.