aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2017-11-28 18:42:02 +0200
committerEryu Guan <eguan@redhat.com>2017-12-01 16:51:00 +0800
commit959081e0d3ca963eb1e663e02b1a665b32ce531e (patch)
tree259c58c9811dede89db52d0da8b582b2b73532df
parentbe7b6165bc20915ac41e03cdf11141545ceae15d (diff)
downloadxfstests-959081e0d3ca963eb1e663e02b1a665b32ce531e.tar.gz
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>
-rwxr-xr-xtests/overlay/0424
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/overlay/042 b/tests/overlay/042
index dae519878a..8967ff37bd 100755
--- a/tests/overlay/042
+++ b/tests/overlay/042
@@ -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