Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Unimplemented pack operators just raise a NotImplementedError, not se…
…gfault. Run more dir tests.
- Loading branch information
Showing
with
21 additions
and 24 deletions.
@@ -0,0 +1,4 @@ | ||
fails:Dir.delete raises an Errno::ENOTEMPTY when trying to remove a nonempty directory | ||
fails:Dir.delete raises an Errno::ENOENT when trying to remove a non-existing directory | ||
fails:Dir.delete raises an Errno::ENOTDIR when trying to remove a non-directory | ||
fails:Dir.delete raises an Errno::EACCES if lacking adequate permissions to remove the directory |
@@ -0,0 +1,4 @@ | ||
fails:Dir.mkdir creates the named directory with the given permissions | ||
fails:Dir.mkdir calls #to_path on non-String arguments | ||
fails:Dir.mkdir raises Errno::EEXIST if the specified directory already exists | ||
fails:Dir.mkdir raises Errno::EEXIST if the argument points to the existing file |
@@ -0,0 +1 @@ | ||
fails:Dir.pwd correctly displays dirs with unicode characters in them |
@@ -0,0 +1,4 @@ | ||
fails:Dir.rmdir raises an Errno::ENOTEMPTY when trying to remove a nonempty directory | ||
fails:Dir.rmdir raises an Errno::ENOENT when trying to remove a non-existing directory | ||
fails:Dir.rmdir raises an Errno::ENOTDIR when trying to remove a non-directory | ||
fails:Dir.rmdir raises an Errno::EACCES if lacking adequate permissions to remove the directory |
@@ -0,0 +1,4 @@ | ||
fails:Dir.unlink raises an Errno::ENOTEMPTY when trying to remove a nonempty directory | ||
fails:Dir.unlink raises an Errno::ENOENT when trying to remove a non-existing directory | ||
fails:Dir.unlink raises an Errno::ENOTDIR when trying to remove a non-directory | ||
fails:Dir.unlink raises an Errno::EACCES if lacking adequate permissions to remove the directory |