Go to the documentation of this file.
12 using namespace wibble::sys::fs;
25 assert(files.find(
".") != files.end());
26 assert(files.find(
"..") != files.end());
27 assert(files.find(
"etc") != files.end());
28 assert(files.find(
"usr") != files.end());
29 assert(files.find(
"tmp") != files.end());
34 Directory dir1(
"/antaniblindalasupercazzola123456");
54 system(
"rm -rf test-mkpath");
55 mkpath(
"test-mkpath/test-mkpath");
58 system(
"rm -rf test-mkpath");
63 system(
"rm -rf test-mkpath");
68 system(
"rm -rf test-mkpath");
72 system(
"rm -f does-not-exist");
74 system(
"touch does-exist");
79 system(
"rm -rf testdir");
81 system(
"touch testdir");
83 system(
"rm testdir; mkdir testdir");