Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2017-11-17 02:50:14 +0300
committerChristopher Haster <chaster@utexas.edu>2017-11-17 02:50:14 +0300
commitf9f4f5ccec410944121ca3aee904f2f904f33d45 (patch)
tree1944bfe6a829b1b388ca225689c9400e0d455cf3 /tests
parent843e3c6c7544de3ebb03821514f9cb7b1135e8cf (diff)
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.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_dirs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_dirs.sh b/tests/test_dirs.sh
index 5a7ea58..8b69e7e 100755
--- a/tests/test_dirs.sh
+++ b/tests/test_dirs.sh
@@ -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;