[PATCH] xfstests: fix 284 ENOENT error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux