Add missing assert.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 7 Nov 2008 22:05:57 +0000 (22:05 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 7 Nov 2008 22:05:57 +0000 (22:05 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1912 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/fs/battfs_test.c

index 5d75e8331e9c8a8043a2c66279d0e4cda941c89e..b8c235170e7ece1d02cb0379f9c1d9eb66036705 100644 (file)
@@ -167,8 +167,9 @@ static void testCheck(BattFsSuper *disk, pgcnt_t *reference)
                        exit(2);
                }
        }
+
        ASSERT(battfs_fsck(disk));
-       battfs_umount(disk);
+       ASSERT(battfs_umount(disk));
 }
 
 static void diskNew(BattFsSuper *disk)