/
githubmirror
/
lsof
Обзор
Документация
Войти
/
githubmirror
/
lsof
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
4.99.0
tests/case-00-hello.bash
34 строки
604 B
Masatake YAMATO
Port test harness from lsof-linux repo
09 май 2019, 04:36
09 май 2019, 04:36
21e0892
Код
Авторство
О чём код?
# # An example of test case. # name=$(basename $0 .bash) # # The file path for lsof executable. # lsof=$1 # # Used only when a test case is failed. # $report specifies a temporary file. # Store how the test case is failed to the temporary file. # The test harness uses this temporary file to make summary messages. # The test harness removes this temporary file. # report=$2 # # Directory where this test case is. # tcasedir=$3 # # Dialect of lsof # dialect=$4 # Return 0 means the case is run successfully. # Return 1 means the case is run in failure. # Return 2 means the case is skipped. exit 0