Skip to content

Commit

Permalink
Fixed bugs about test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Takeshi Nakatani committed Aug 31, 2023
1 parent 6144154 commit 32e5953
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions tests/dtor_svr_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -191,18 +191,20 @@ echo "${CYEL}-------------------------------------------------------------------
#
# Check chmpx binary
#
if ! CHMPXBIN=$(command -v chmpx | tr -d '\n'); then
if ! command -v chmpx >/dev/null 2>&1; then
PRNERR "Not found chmpx binary"
exit 1
fi
CHMPXBIN=$(command -v chmpx | tr -d '\n')

#
# Check k2htouch tool
#
if ! K2HTOUCHBIN=$(command -v k2htouch | tr -d '\n'); then
if ! command -v k2htouch >/dev/null 2>&1; then
PRNERR "Not found k2htouch tool"
exit 1
fi
CHMPXBIN=$(command -v k2htouch | tr -d '\n')

#==============================================================
# Run processes
Expand Down
3 changes: 2 additions & 1 deletion tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -607,10 +607,11 @@ PRNTITLE "INITIALIZE BEFORE TEST"
#
# Check binary path
#
if ! CHMPXBIN=$(command -v chmpx | tr -d '\n'); then
if ! command -v chmpx >/dev/null 2>&1; then
PRNERR "Not found chmpx binary"
exit 1
fi
CHMPXBIN=$(command -v chmpx | tr -d '\n')

#
# Copy plugin script
Expand Down

0 comments on commit 32e5953

Please sign in to comment.