From: Eric Sandeen Date: Wed, 6 May 2020 22:16:50 +0000 (-0500) Subject: fstests: update sparse file & negative timestamp tests for exfat X-Git-Tag: v2022.05.01~797 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=52794c5a8a5fb1be5a7c11ab3df9391ed1ecc70e;hp=1636dd169e27eb61d1b88158be918ba62894a2af fstests: update sparse file & negative timestamp tests for exfat exfat cannot do sparse files or negative timestamps, so exclude tests which require these. Signed-off-by: Eric Sandeen Reviewed-by: Christoph Hellwig Signed-off-by: Eryu Guan --- diff --git a/common/rc b/common/rc index 2000bd9d..b25cad0e 100644 --- a/common/rc +++ b/common/rc @@ -2357,7 +2357,7 @@ _require_fs_space() _require_sparse_files() { case $FSTYP in - hfsplus) + hfsplus|exfat) _notrun "Sparse files not supported by this filesystem type: $FSTYP" ;; *) @@ -4188,9 +4188,10 @@ _check_xfs_scrub_does_unicode() { return 0 } +# exfat timestamps start at 1980 and cannot be prior to epoch _require_negative_timestamps() { case "$FSTYP" in - ceph) + ceph|exfat) _notrun "$FSTYP does not support negative timestamps" ;; esac