/
githubmirror
/
e2fsprogs
Обзор
Документация
Войти
/
githubmirror
/
e2fsprogs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/test_post
17 строк
343 B
Andreas Dilger
tests: use make rules to run tests in parallel
29 май 2012, 16:41
29 май 2012, 16:41
f3331df
Код
Авторство
О чём код?
#!/bin/sh # report stats about test scripts that were run num_ok=`ls *.ok 2>/dev/null | wc -l` num_failed=`ls *.failed 2>/dev/null | wc -l` echo "$num_ok tests succeeded $num_failed tests failed" test "$num_failed" -eq 0 && exit 0 echo -n "Tests failed: " for fname in $(ls *.failed); do echo -n "${fname%%.failed} " done echo "" exit 1