From: Liu Bo Date: Sun, 6 Jan 2013 14:30:38 +0000 (+0800) Subject: xfstests: fix 284 ENOENT error X-Git-Tag: v2022.05.01~3550 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c52c134f1a742ce977810bc89bcc79f5076747dd;p=xfstests-dev.git xfstests: fix 284 ENOENT error 284 misses a 'mkdir' operation. Signed-off-by: Liu Bo Reviewed-by: Ben Myers Signed-off-by: Ben Myers --- diff --git a/284 b/284 index c00e6f16..7f4a630d 100644 --- a/284 +++ b/284 @@ -44,6 +44,7 @@ _create_file() if [ $1 -ne 2 ]; then tmpfile="$SCRATCH_MNT/tmp_file" else + mkdir -p $SCRATCH_MNT/tmp_dir tmpfile="$SCRATCH_MNT/tmp_dir/tmp_file" fi