diff --git a/test/fs.t.cpp b/test/fs.t.cpp index d5478a7bd..509474384 100644 --- a/test/fs.t.cpp +++ b/test/fs.t.cpp @@ -35,7 +35,7 @@ Context context; int main (int, char**) { - UnitTest t (111); + UnitTest t (112); // Ensure environment has no influence. unsetenv ("TASKDATA"); @@ -284,6 +284,10 @@ int main (int, char**) d10.remove (); t.notok (d10.exists (), "Directory::remove temp/dir.perm file no longer exists"); + // Directory::cd + Directory d11 ("/tmp"); + t.ok (d11.cd (), "Directory::cd /tmp good"); + tmp.remove (); t.notok (tmp.exists (), "tmp dir removed.");