]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfstests: fix 284 ENOENT error
authorLiu Bo <liub.liubo@gmail.com>
Sun, 6 Jan 2013 14:30:38 +0000 (22:30 +0800)
committerBen Myers <bpm@sgi.com>
Mon, 21 Jan 2013 23:02:05 +0000 (17:02 -0600)
284 misses a 'mkdir' operation.

Signed-off-by: Liu Bo <liub.liubo@gmail.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
284

diff --git a/284 b/284
index c00e6f164c7242bd77227c8fa5ea7b16f954cebf..7f4a630d488a39b4ed340c34003c9fcd63418d43 100644 (file)
--- 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