X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-rename.h;h=2bc610fc8e183d74cb99cd5bae5a6640be698360;hb=refs%2Fheads%2Fmaster;hp=64bab0964beeb427f2d3df30761c1a58635b3abe;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/tests/test-rename.h b/tests/test-rename.h index 64bab0964..2bc610fc8 100644 --- a/tests/test-rename.h +++ b/tests/test-rename.h @@ -1,5 +1,5 @@ /* Test of rename() function. - Copyright (C) 2009-2011 Free Software Foundation, Inc. + Copyright (C) 2009-2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -339,7 +339,7 @@ test_rename (int (*func) (char const *, char const *), bool print) errno = 0; ASSERT (func (BASE "dir2", BASE "dir/.") == -1); ASSERT (errno == EINVAL || errno == EBUSY || errno == EISDIR - || errno == ENOTEMPTY); + || errno == ENOTEMPTY || errno == EEXIST); } { errno = 0; @@ -366,7 +366,7 @@ test_rename (int (*func) (char const *, char const *), bool print) errno = 0; ASSERT (func (BASE "dir2", BASE "dir/.//") == -1); ASSERT (errno == EINVAL || errno == EBUSY || errno == EISDIR - || errno == ENOTEMPTY); + || errno == ENOTEMPTY || errno == EEXIST); } { errno = 0;