/
githubmirror
/
procps
Обзор
Документация
Войти
/
githubmirror
/
procps
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v3.3.7
testsuite/lib.test/fileutils.exp
19 строк
526 B
Sami Kerola
lib: add fileutils file with stream error checking facility
23 мар 2012, 18:57
23 мар 2012, 18:57
c7cf98b
Код
Авторство
О чём код?
# # Testsuite for lib/fileutils program # set noarg "${topdir}lib/test_fileutils" set test "without argument" spawn $noarg expect_pass "$test" "Hello, World!" set badfd "${topdir}testsuite/lib.test/fileutils_badfd.sh" set test "test bad file descriptor" spawn $badfd expect_pass "$test" "test_fileutils: write error: Bad file descriptor" set full "${topdir}testsuite/lib.test/fileutils_full.sh" set test "test no space left on device" spawn $full expect_pass "$test" "test_fileutils: write error: No space left on device"