[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

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


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

  Powered by Linux