/
githubmirror
/
mdevctl
Обзор
Документация
Войти
/
githubmirror
/
mdevctl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
testdata/callouts/type-c.sh
24 строки
393 B
Jonathon Jongsma
move test data to testdata/
15 янв 2024, 17:33
15 янв 2024, 17:33
06c3b55
Код
Авторство
О чём код?
#!/bin/sh # A basic utility script used for debugging notification call-out events # in mdevctl. Output can be observed via system logs. #stdin | -t type -e event -a action -s state -u uuid -p parent shift type=$1 shift 2 event=$1 shift 2 action=$1 shift 2 state=$1 shift 2 uuid=$1 shift 2 parent=$1 json=$(cat) if [ "$type" = "type_c" ]; then exit 1 # this test expects to fail fi exit 2