fstests: filter mount error message for EUCLEAN and ESTALE
[xfstests-dev.git] / tests / overlay / 037
index 7287329033580d6ad6e74048d243f0e0b3fd9ece..6710ddaf4802b6c3a5e7d2789a5b2adcc6998ee6 100755 (executable)
@@ -76,12 +76,12 @@ $UMOUNT_PROG $SCRATCH_MNT
 
 # Try to mount an overlay with the same upperdir and different lowerdir - expect ESTALE
 _overlay_scratch_mount_dirs $lowerdir2 $upperdir $workdir -oindex=on \
-       2>&1 | _filter_scratch
+       2>&1 | _filter_error_mount
 $UMOUNT_PROG $SCRATCH_MNT 2>/dev/null
 
 # Try to mount an overlay with the same workdir and different upperdir - expect ESTALE
 _overlay_scratch_mount_dirs $lowerdir $upperdir2 $workdir -oindex=on \
-       2>&1 | _filter_scratch
+       2>&1 | _filter_error_mount
 $UMOUNT_PROG $SCRATCH_MNT 2>/dev/null
 
 # Mount overlay with original lowerdir, upperdir, workdir and index=on - expect success