12%let root=%sysfunc(pathname(work))/mkdir_test;
14%mp_assertscope(SNAPSHOT)
15%put scope check:%mf_mkdir(&root/a/b/c);
16%mp_assertscope(COMPARE,
17 desc=Checking that mf_mkdir does not leak scope,
18 outds=work.test_results
22 iftrue=(%sysfunc(fileexist(&root/a/b/c))=1),
23 desc=Checking that intermediate directories are created,
24 outds=work.test_results
27%mf_mkdir(&root/a/b/c/)
29 iftrue=(&syscc=0 and %sysfunc(fileexist(&root/a/b/c))=1),
30 desc=Checking that a trailing slash is accepted and an existing path is quiet,
31 outds=work.test_results
37 desc=Checking that a single slash is treated as an existing root,
38 outds=work.test_results