LUMIERA.clone/tests/20filedescriptor.tests

27 lines
447 B
Text
Raw Normal View History

2008-03-31 02:28:25 +02:00
TESTING "Filedescriptor management" ./test-filedescriptors
echo testdata > ,tmp_testfile
TEST "acquire existing file" acquire_existing <<END
return: 0
2008-03-31 02:28:25 +02:00
END
TEST "acquire existing file twice" acquire_existing_again <<END
return: 0
END
2008-03-31 02:28:25 +02:00
rm ,tmp_testfile
2008-03-31 02:28:25 +02:00
TEST "acquire file, creating it" acquire_create <<END
return: 0
2008-03-31 02:28:25 +02:00
END
rm ,tmp_testfile
TEST "acquire file, creating it, nested dir" acquire_create_dir <<END
return: 0
2008-03-31 02:28:25 +02:00
END
rm ,tmp_testdir -r