/
UCS
/
snoopy
Обзор
Документация
Войти
/
UCS
/
snoopy
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
tests/datasource/datasource_tid_kernel.sh
25 строк
344 B
Bostjan Skufca Jese
tests: Refactor multiple dedicated tests-related commands into subcommands under a single `snoopy-test` executable
10 июл 2022, 20:24
10 июл 2022, 20:24
cdf8e65
Код
Авторство
О чём код?
#!/bin/bash ### Configure shell and bootstrap # set -e set -u . `dirname $BASH_SOURCE`/_bootstrap.sh ### Get data # VAL_SNOOPY=`$SNOOPY_TEST_CLI run datasource tid_kernel` ### Evaluate # if [[ $VAL_SNOOPY =~ ^[0-9]{1,7}$ ]]; then snoopy_testResult_pass else snoopy_testResult_fail "Unexpected thread ID format: $VAL_SNOOPY" fi