mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
overlay/042: remove wrong check for empty index
The check for empty index in this test was wrongly copied from test overlay/034. In test overlay/034 lower file starts as a hardlink, so nlink accounting is done from the first copy up and index can be cleaned on last upper hardlink unlink. In this test, lower starts as non-hardlink, so first copy up does not perform nlink accounting and therefore, union nlink count does not drop to 0 at the end of the test and the index is not expected to be cleaned. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
be7b6165bc
commit
959081e0d3
@@ -129,10 +129,6 @@ rm $SCRATCH_MNT/2
|
||||
rm $SCRATCH_MNT/3
|
||||
rm $SCRATCH_MNT/4
|
||||
|
||||
# Verify that orphan index is cleaned on mount
|
||||
_scratch_cycle_mount index=on
|
||||
ls $OVL_BASE_SCRATCH_MNT/$OVL_WORK/index
|
||||
|
||||
echo "Silence is golden"
|
||||
status=0
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user