Skip to content

Commit 4409b25

Browse files
committed
test: fix skipping the test
The test ends with FAIL status despite the method skip_test being called. Signed-off-by: Artur Wilczak <arturx.wilczak@intel.com>
1 parent ac60407 commit 4409b25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-case/test-jack-detection-playback-capture.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,14 @@ main()
171171

172172
start_test
173173

174-
logger_disabled || func_lib_start_log_collect
175-
176174
# Check if usbrelay tool is installed
177175
command -v usbrelay || {
178176
# If usbrelay package is not installed
179177
skip_test "usbrelay command not found. Please install usbrelay package."
180178
}
181179

180+
logger_disabled || func_lib_start_log_collect
181+
182182
# display current status of relays
183183
usbrelay --debug
184184

0 commit comments

Comments
 (0)