WIP Changed unwritable superblock to ENOSPC to match similar situations

This commit is contained in:
Christopher Haster
2018-08-13 14:20:40 -05:00
parent 42ead30339
commit 791891ae3b
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ echo "--- Invalid superblocks ---"
ln -f -s /dev/zero blocks/0
ln -f -s /dev/zero blocks/1
tests/test.py << TEST
lfs_format(&lfs, &cfg) => LFS_ERR_CORRUPT;
lfs_format(&lfs, &cfg) => LFS_ERR_NOSPC;
TEST
rm blocks/0 blocks/1