/* Try to remove the root directory.
This must fail. */
#include
#include tests/lib.h
#include tests/main.h
void
test_main (void)
{
CHECK (!remove (/), remove / (must fail));
CHECK (create (/a, 243), create /a);
}
$25
File Name: CS_/*_Try_to_remove_the_root_directory..zip
File Size: 367.38 KB
/* Try to remove the root directory.
This must fail. */
#include
#include tests/lib.h
#include tests/main.h
void
test_main (void)
{
CHECK (!remove (/), remove / (must fail));
CHECK (create (/a, 243), create /a);
}
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.