xfstests: fix 284 ENOENT error
diff mbox

Message ID 1357482638-27129-1-git-send-email-liub.liubo@gmail.com
State Not Applicable
Headers show

Commit Message

bo liu Jan. 6, 2013, 2:30 p.m. UTC
284 misses a 'mkdir' operation.

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

Comments

David Sterba Jan. 10, 2013, 2:12 p.m. UTC | #1
On Sun, Jan 06, 2013 at 10:30:38PM +0800, Liu Bo wrote:
> 284 misses a 'mkdir' operation.
> 
> Signed-off-by: Liu Bo <liub.liubo@gmail.com>
Tested-by: David Sterba <dsterba@suse.cz>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Ben Myers Jan. 21, 2013, 11:04 p.m. UTC | #2
Hey Liu,

On Sun, Jan 06, 2013 at 10:30:38PM +0800, Liu Bo wrote:
> 284 misses a 'mkdir' operation.
> 
> Signed-off-by: Liu Bo <liub.liubo@gmail.com>

Reviewed-by: Ben Myers <bpm@sgi.com>

Applied to git://oss.sgi.com/xfs/cmds/xfstests.git

Regards,
	Ben
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

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