shared/010: avoid dedupe testing blocked on large fs
authorZorro Lang <zlang@redhat.com>
Wed, 12 Sep 2018 10:15:47 +0000 (18:15 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 16 Sep 2018 11:49:34 +0000 (19:49 +0800)
commit29b2f63b3ee705e821d18158734be6b2666f1431
tree688b32e595ba178779ae7b92336400e3c9ec441c
parent047562e1dcfb04d75cbf2368cf7f6c904c3f4206
shared/010: avoid dedupe testing blocked on large fs

When test on large fs (--large-fs), xfstests preallocates a large
file in SCRATCH_MNT/ at first. Duperemove will take too long time
to deal with that large file (many days on 500T XFS). So move
working directory to a sub-dir underlying $SCRATCH_MNT/.

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/shared/010