xfs
[Top] [All Lists]

[PATCH] xfstests: fix 284 ENOENT error

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfstests: fix 284 ENOENT error
From: Liu Bo <liub.liubo@xxxxxxxxx>
Date: Sun, 6 Jan 2013 22:30:38 +0800
Cc: linux-btrfs@xxxxxxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=guhVtzY/jUZmZZnPP+86DPmnFki70pzK+8GzHw4gt1k=; b=WDOZFf4t+vVqn5ilNueN6qKoWfdpzx+aIBV62QjPjSWOZ/Az4vpx3uS/VIq705h3Kz j8kngqQpQbLYerElbrwxr/opCfAh3II7sjRxn/Y1GuqgM2flUZsjTtaOrYjo2RNxE1W2 vdRPEXTMnU+eyG6SC6juNIM9o+66xYJ0tkU3Br/IhB8ERlqqj6b0VyPI1siYrgM0N4eC UJewx+OyT5rvZbzZ/j5WFVu3iKUkhwsQx8P5oYCuU+MEzzqRG7hYTmMmOhO9kx2r4mWe 7CKlz3tkWTS3FqvLEhcmFu8PmPUYDn03+Jtsjkj+VJ9yg1j+bqtRKVwFo9bLu4EEwNPb E5aw==
284 misses a 'mkdir' operation.

Signed-off-by: Liu Bo <liub.liubo@xxxxxxxxx>
---
 284 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/284 b/284
index c00e6f1..7f4a630 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
                
-- 
1.7.7.6

<Prev in Thread] Current Thread [Next in Thread>