diff options
author | Björn Gustavsson <[email protected]> | 2010-05-05 17:51:24 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-05-05 18:03:36 +0200 |
commit | 748ba3a9c58a5a12a1423fd0311d8c681e38169e (patch) | |
tree | 1ba5bdfe02a54c7916956e8bdafaa7cf3df410fd /lib/orber/prebuild.skip | |
parent | c032d352a8610b47b2e88fd871d5047468240f16 (diff) | |
download | otp-748ba3a9c58a5a12a1423fd0311d8c681e38169e.tar.gz otp-748ba3a9c58a5a12a1423fd0311d8c681e38169e.tar.bz2 otp-748ba3a9c58a5a12a1423fd0311d8c681e38169e.zip |
Adjust test of file:del_dir("..") to accept {error,einval}
On FreeBSD, file:del_dir("..") will return {error,einval} rather
than the expected {error,eexist}, and so will file:del_dir("../.."),
and so on.
It could be argued that we should change the implementation of
file:del_dir/1 to remap the error code (as some other error codes
are remapped to reduce the differences between different platforms),
but the consistency gained does not seem to be worth the effort.
Therefore, until we'll find a real-world use case where it is
essential to have consistent error codes for file:del_dir("..") on
all platforms, change the test case to accept both errors.
Diffstat (limited to 'lib/orber/prebuild.skip')
0 files changed, 0 insertions, 0 deletions