/
githubmirror
/
keyutils
Обзор
Документация
Войти
/
githubmirror
/
keyutils
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/keyctl/noargs/runtest.sh
24 строки
417 B
Tyler Hicks
TEST: Explicitly use bash
25 фев 2014, 15:14
25 фев 2014, 15:14
80d4848
Код
Авторство
О чём код?
#!/bin/bash . ../../prepare.inc.sh . ../../toolbox.inc.sh # ---- do the actual testing ---- result=PASS echo "++++ BEGINNING TEST" >$OUTPUTFILE marker "CHECK NO ARGS" expect_args_error keyctl if [ "`sed -n -e 3p $OUTPUTFILE | cut -d: -f1`" != "Format" ] then failed fi echo "++++ FINISHED TEST: $result" >>$OUTPUTFILE # --- then report the results in the database --- toolbox_report_result $TEST $result