btrfs-progs: tests: fix fsck-tests/031 when on NFS
commit686dc0864ea913d694182b40e9841baa825ba10c
authorDavid Sterba <dsterba@suse.com>
Thu, 7 Jun 2018 13:18:50 +0000 (7 15:18 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 7 Jun 2018 14:37:40 +0000 (7 16:37 +0200)
tree96e01aed6ad9b515e3a49f3dd0203ca896c35cb1
parent96af160a0111546f1a7dbad172c8802ca8309e21
btrfs-progs: tests: fix fsck-tests/031 when on NFS

The restore target file does not exist and creating by root does not
work on NFS, so precreating will make that work. Also fix the image name
to be deleted.

Signed-off-by: David Sterba <dsterba@suse.com>
tests/fsck-tests/031-metadatadump-check-data-csum/test.sh