diff options
author | Christopher Haster <chaster@utexas.edu> | 2017-04-24 06:10:16 +0300 |
---|---|---|
committer | Christopher Haster <chaster@utexas.edu> | 2017-04-24 06:10:16 +0300 |
commit | 287b54876ed18524b3441d141c4f094ff6ff92d0 (patch) | |
tree | 863a5ef8648f5936b2c2867c5d838072ce1394b5 /tests/test_orphan.sh | |
parent | 5790ec2ce4279f2ca805e33f6f514fbe9e06aeb0 (diff) |
Standardized error values
Now matches the commonly used errno codes in name with the value
encoded as the negative errno code
Diffstat (limited to 'tests/test_orphan.sh')
-rwxr-xr-x | tests/test_orphan.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_orphan.sh b/tests/test_orphan.sh index 2a9b3f3..71d6d4f 100755 --- a/tests/test_orphan.sh +++ b/tests/test_orphan.sh @@ -20,14 +20,14 @@ TEST rm -v blocks/8 tests/test.py << TEST lfs_mount(&lfs, &cfg) => 0; - lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERROR_NO_ENTRY; + lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERR_NOENT; unsigned before = 0; lfs_traverse(&lfs, test_count, &before) => 0; test_log("before", before); lfs_deorphan(&lfs) => 0; - lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERROR_NO_ENTRY; + lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERR_NOENT; unsigned after = 0; lfs_traverse(&lfs, test_count, &after) => 0; test_log("after", after); |