[SOLVED] CS /* Tests mkdir(). */

$25

File Name: CS_/*_Tests_mkdir()._*/.zip
File Size: 216.66 KB

5/5 - (1 vote)

/* Tests mkdir(). */

#include
#include tests/lib.h
#include tests/main.h

void
test_main (void)
{
CHECK (mkdir (a), mkdir a);
CHECK (create (a/b, 512), create a/b);
CHECK (chdir (a), chdir a);
CHECK (open (b) > 1, open b);
}

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS /* Tests mkdir(). */
$25