Fixed standard name mismatch LFS_ERR_EXISTS -> LFS_ERR_EXIST

Matches the standard EEXIST name found on most systems. Other than
this name, all other common constant names were consistent in this
manner.
This commit is contained in:
Christopher Haster
2017-11-16 17:50:14 -06:00
parent 843e3c6c75
commit f9f4f5ccec
3 changed files with 4 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ TEST
echo "--- Directory failures ---"
tests/test.py << TEST
lfs_mount(&lfs, &cfg) => 0;
lfs_mkdir(&lfs, "potato") => LFS_ERR_EXISTS;
lfs_mkdir(&lfs, "potato") => LFS_ERR_EXIST;
lfs_dir_open(&lfs, &dir[0], "tomato") => LFS_ERR_NOENT;
lfs_dir_open(&lfs, &dir[0], "burito") => LFS_ERR_NOTDIR;
lfs_file_open(&lfs, &file[0], "tomato", LFS_O_RDONLY) => LFS_ERR_NOENT;